search for: ipc_rmid

Displaying 7 results from an estimated 7 matches for "ipc_rmid".

2001 Mar 17
1
ogg123 doesn't destroy shm segment
...) + sizeof (chunk_t) * (size - 1), - IPC_CREAT|S_IREAD|S_IWRITE); + IPC_CREAT|SHM_R|SHM_W); if (shmid == -1) { @@ -92,7 +91,10 @@ perror ("shmat"); exit (1); } - + + /* Remove segment after last process detaches it or terminates. */ + shmctl(shmid, IPC_RMID, 0); + buffer_init (buf, size); /* Create a pipe for communication between the two processes. Unlike -- Christian "naddy" Weisgerber naddy@mips.inka.de --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph....
2005 Dec 01
0
[fdo] Programming problems in Dual Head Mode.
...mage->data_size, > IPC_CREAT|0777); > shminfo1.shmaddr = ximage->data = shmat (shminfo1.shmid, 0, 0); > shminfo1.readOnly = False; > if(!XShmAttach (display, &shminfo1)) { > printf("XShmAttach failed!\n"); > } > shmctl (shminfo1.shmid, IPC_RMID, 0); > XSync(display,False); I use tinyX as the Xserver and the xfbdev as the card for the second screen. After the Initialization, Both Screen as a respond. I mean both of them have been waked up. but when I am trying to write image to the first screen by > XvShmPutImage(display, po...
2005 Dec 05
0
[fdo] Programming problems in Dual Head Mode with Tiny-X.
...mage->data_size, > IPC_CREAT|0777); > shminfo1.shmaddr = ximage->data = shmat (shminfo1.shmid, 0, 0); > shminfo1.readOnly = False; > if(!XShmAttach (display, &shminfo1)) { > printf("XShmAttach failed!\n"); > } > shmctl (shminfo1.shmid, IPC_RMID, 0); > XSync(display,False); I use tinyX as the Xserver and the xfbdev as the card for the second screen. After the Initialization, Both Screen as a respond. I mean both of them have been waked up. but when I am trying to write image to the first screen by > XvShmPutImage(display, portN...
2002 Jun 25
2
Help wanted: configure test for busted mmap
Linux 2.2 (and probably others) have a deficient mmap which has caused a number of problems (e.g. bug #285). A workaround is in development, but it would be helpful to have a configure test to detect the bad mmaps(). Any takers? -d
2002 Jun 25
1
[Bug 293] New: sshd 3.3p1 doesn't work on Slackware
http://bugzilla.mindrot.org/show_bug.cgi?id=293 Summary: sshd 3.3p1 doesn't work on Slackware Product: Portable OpenSSH Version: -current Platform: ix86 URL: http://www.slynet.lu/ OS/Version: Linux Status: NEW Severity: critical Priority: P2 Component: sshd AssignedTo:
2001 Mar 17
1
ogg123: shared memory by mmap()
...exit(1); + } + close(fd); +#else /* Get the shared memory segment. */ int shmid = shmget (IPC_PRIVATE, sizeof(buf_t) + sizeof (chunk_t) * (size - 1), @@ -94,6 +110,7 @@ /* Remove segment after last process detaches it or terminates. */ shmctl(shmid, IPC_RMID, 0); +#endif /* HAVE_SMMAP */ buffer_init (buf, size); -- Christian "naddy" Weisgerber naddy@mips.inka.de --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a...
2011 Jan 10
9
Hugepage Support
hi, I tried to make huge page request in Fedora x86_64 PV guest using xen 4.1 unstable and it crashed(crash info given below) I had enabled superpages in config file I had also set hugepages parameter at boot time for the PV Dom U By excuting # cat /proc/mem_info | grep Huge gave me that there are 10 free huge pages available , still the domain crashed. [ 86.403654] BUG: unable to handle