Re: Thread safety in perl
[email protected] (Elizabeth Mattijsen)
| Newsgroups | perl.ithreads |
|---|---|
| Message-ID | <f06110423bde70a8c8ad1@[192.168.10.93]> |
At 10:59 AM +0530 12/16/04, Madhav wrote: > I want to use perl's threading facilities in my >project. I have written some modules already, and I want to insure >that they work in presence of threads. I need some general >guidelines about how to write modules that are "thread Safe". > > Any help will be greatly appreciated. A general comment: use lexicals. Always. If you don't want to use any specific thread related features, that should basically be it. Liz