Thank you for this usefull information..
But is seems that is valid only in the core of Pike, since src/modules/Msql/*.c has such options THREADS_ALLOW and its friends THREADS_DISALLOW
/Xavier
I don't quite understand what you mean with this. What I said is always true in any C-method called from Pike, regardless if it's in a "core" method or a method in a dynamically loaded module.
/ David Hedbor
Previous text:
2003-06-17 23:31: Subject: Re: Pike localtime(), threads safe and low level localtime() / localtime_r() ?
Le mardi, 17 jun 2003, à 23:20 Europe/Paris, David Hedbor @ Pike developers forum a écrit :
Any C-method called from within Pike always holds the interpreter lock. To run in a true multithreaded fashion you need to release this lock (which is whar THREADS_ALLOW does).
Thank you for this usefull information..
But is seems that is valid only in the core of Pike, since src/modules/Msql/*.c has such options THREADS_ALLOW and its friends THREADS_DISALLOW
/Xavier
/ Brevbäraren