RE: [PHP] sem_get invalid argument for existing semaphore

2011-05-04 Thread Jeremy Greene
Sorry for the bad formatting... Anyway, I did figure out the problem: php creates/expects each system v semaphore to be a semaphore group of 3. So, not only is that weird, it really should be documented. Jeremy -Original Message- From: Jeremy Greene [mailto:jer...@zeevee.com] Sent: Wedn

Re: [PHP] sem_get invalid argument for existing semaphore

2011-05-04 Thread Mike Mackintosh
Are you using the whole hex key or removing the 0x prefix? Sent from my iPhone On May 4, 2011, at 8:13, "Jeremy Greene" wrote: > Hi, > > > > I am trying to do a sem_get on a semaphore that has already been created > by > > a c++ program. But I'm getting this warning: > > > > PHP Warning