supipd / node-shm

shared memory for NODEJS compatible with PHP shmop
63 stars 13 forks source link

readSHM doesn't sent back data #1

Open 51mon opened 11 years ago

51mon commented 11 years ago

I tried to run the test and the readSHM function doesn't send data:

$ node test.js
Object:
 { getErrMsg: [Function],
  openSHM: [Function],
  readSHM: [Function],
  closeSHM: [Function],
  sizeSHM: [Function],
  writeSHM: [Function],
  deleteSHM: [Function] }
opened shmkey: 1236  shmid: 0
writing '1234567890', written: 0
readed(HEXA):
waiting 10 secs to detach and close
detatch retval: 1
close retval: 1
jnfeinstein commented 10 years ago

Run as root