Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News Editorials & Other Articles General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search

Recursion

(56,582 posts)
1. Any function that keeps an internal state needs thread safety
Sat Jun 15, 2013, 03:11 PM
Jun 2013

And that's a surprising number of functions. Check the documentation; they'll usually say if they are re-entrant or not. If not, you have to write your own semaphore.

What platform are you on? Linux processes are actually "threads".

Recommendations

0 members have recommended this reply (displayed in chronological order):

Latest Discussions»Retired Forums»Website, DB, & Software Developers»Do I need to worry about ...»Reply #1