ftok() for shmop on windows?
| From: | Eliot Shepard | Date: | Tue, 21 Oct 2003 19:45:33 +0000 |
| Subject: | ftok() for shmop on windows? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-21858@lists.php.net to get a copy of this message | ||
The shmop functions really require the ftok() hashing function to generate
keys for shared memory blocks.
Unfortunately, this function lives in the System V shm/semaphore package,
which of course doesn't exist on Windows. Having a theoretically portable
module be dependent on a non-portable one doesn't seem optimal here.
Can this be fixed in source, and does anyone have a temporary workaround in
the meantime?
Thanks,
Eliot
--
Eliot Shepard
http://www.slower.net