Results 1 to 17 of 17

Thread: Interprocess nonblocking semaphore / mutex / shared memory.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2011
    Posts
    19
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default Interprocess nonblocking semaphore / mutex / shared memory.

    Hello!

    I need lock some resources (e.g. files) used by my programs. I've got few process and I want synchronize beetwen them. QSystemSemaphore or QSharedMemory look nice, but unfortunetly those classes don't have non-blocking function to lock (like QMutex's tryLock() ). Could anyone pass me a nice multiplatform solution for that?

    best regards
    m.p
    Last edited by m.p; 10th May 2011 at 12:22.

Similar Threads

  1. shared memory wont attach
    By daemonna in forum Qt Programming
    Replies: 2
    Last Post: 25th August 2010, 02:11
  2. Does Qt support shared memory ?
    By Shawn in forum Qt Programming
    Replies: 11
    Last Post: 3rd November 2009, 18:07
  3. QT shared memory
    By sweetsubha2020 in forum Qt Programming
    Replies: 2
    Last Post: 18th January 2009, 06:30
  4. MySQL and shared-memory connection
    By patrikd in forum Qt Programming
    Replies: 1
    Last Post: 1st August 2008, 17:53
  5. How to clear shared memory?
    By THRESHE in forum Qt Programming
    Replies: 4
    Last Post: 22nd May 2008, 19:28

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.