![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| mmap & msync | marquis | High Level Programming | 3 | 12-09-2007 04:50 PM |
| mmap failed | scotbuff | HP-UX | 2 | 09-11-2007 05:28 AM |
| kernel values related to mmap | tobsinte | High Level Programming | 4 | 07-20-2007 03:15 AM |
| mmap error - only when from cron?!?!? | Bicks | Filesystems, Disks and Memory | 1 | 08-01-2006 10:12 AM |
| mmap | gusm | Filesystems, Disks and Memory | 0 | 07-30-2002 02:42 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
mmap and select
I'm using select() to monitor multiple file descriptors (inet sockets) in application. But this application must also collaborate with other applications on the same host via shared memory (mmap'ed file) due to performance reasons. How can I become notification that mmaped memory is changed or semaphore state changed when the application is blocked in select()? For instance, can I perform select() (or epoll()) on the file descriptor that is mapp'ed to memory or should I use signals or something else?
|
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Interesting issue but not enough details . Signals for process based and pthread_cond_wait for threaded apps I'd think. The blocking you mentioned in select() makes the use of epoll or more sophisticated event mechanisms a little problematic. You may run into performance problems based on this alone.
|
|||
| Google The UNIX and Linux Forums |