Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Handling DBD::OBDC error on a 'thread safe' class

by renodino (Curate)
on Nov 07, 2005 at 16:09 UTC ( [id://506394]=note: print w/replies, xml ) Need Help??


in reply to Handling DBD::OBDC error on a 'thread safe' class

You fail to mention precisely how its failing ? What version of (Perl, DBI, DBD::ODBC) you're using, and on what platform/OS ?

I don't see anything in your code regarding threads (i.e., no threads->new(), threads::shared, lock(), etc), so I don't see what makes this "thread-safe" ?

That said, have you considered DBIx::Threaded ? It might further simplify the thread-safety issue.

  • Comment on Re: Handling DBD::OBDC error on a 'thread safe' class

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://506394]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-23 06:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found