Re: [PHP-DEV] Question on thread safety

2006-11-30 Thread Andy Wharmby
Stanislav Malyshev wrote: So finally to my question. Is it the intention of TSRMc. to allow ts_allocate_id() to be called at any time or is there an unwritten rule that it should only ever called during php startup ? If its the former then I I think it gets called only on startup. I also thi

Re: [PHP-DEV] Question on thread safety

2006-11-29 Thread Stanislav Malyshev
So finally to my question. Is it the intention of TSRMc. to allow ts_allocate_id() to be called at any time or is there an unwritten rule that it should only ever called during php startup ? If its the former then I I think it gets called only on startup. I also think it was the intent, thou

[PHP-DEV] Question on thread safety

2006-11-29 Thread Andy Wharmby
Hi All, My first post on here but I have a come across a potential issue with the PHP code and rather than just raise a defect thought it better to solicit other peoples views on the issue first. I have been reviewing the PHP code recently in order to familiarize myself with how it all fit