title: PHP Named pipes on windows
body: <p>Ok here's the scenario. Let's say i got a php script that is supposed to wait for certain information to become available , and i figured it'd be a nice solution if i could make this script block instead of busy looping until that information becomes available. The information itself would be provided by another instance of a php script. And lets say i want X number of such requests to block until this 1 instance of a script delivers this information.
  I figured i could use a named pipe , the reader processes would block waiting for the pipe to be written to, and the writer would write and instantly unblock all the readers by giving the needed information through the pipe or otherwise.
  i found posix_mkfifo but it does not work on windows aparently, is there any other way to do this that would work on both windows and *nix.
  Or maybe there is some sort of way to just make a bunch of requests block , and for another request to "set them free" once it's time.
  I really don't want to resort to busy loops, i want to spare the cpu without using 1 second delays and sutch.</p>