vmware/fuse4js — pull request #2 by sidorares (2012-10-03 07:54:45+00:00)
Title: MAC port

- binding.gyp updated to use `pkg-config fuse --cflags`
- unnamed semaphores don't work on OSX (some people report that sem_init can even silently create invalid semaphore, but I can see error is returned) As a result, rpc synchronisation does not work.

http://stackoverflow.com/questions/10406834/some-problems-with-using-semaphores
http://stackoverflow.com/questions/1413785/sem-init-on-os-x

code changed to use named semaphores, some error reporting added

Tested on OSX 10.7.3 + osxfuse 2.5.2 . jsonFs/mirrorFs work unchanged on OSX/Ubuntu 12.04