I see but I have not found any implementation of PHP for SymMPor named POSIX.
(2 question)
Is there currently a way to access PHP named Designers?
Is there a plan for PHP's future release?
Here is my "named" semaphore implementation, but I'm not sure if you want to convert one Looking for simple strings.
/ ** * Generate a semaphore integer with string / key * @love string $ identifier * @ layer int * / function sem_key ($ identifier) {$ md5 = md5 ($ identifier ); $ Of = 0; {$ Key + = ord ($ md5 {$ i}) for $ ($ I = 0; $ i & lt; 32; $ i ++) * $ i; } Return key; }
Comments
Post a Comment