Thread: Using Copy-on-write For Fast Copy?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    If readers only read, then I would avoid any copying.

    How is the data partitioned? Does each reader get a unique piece to work on? Or do all readers read and process all the same data?

    gg

  2. #2
    Registered /usr
    Join Date
    Aug 2001
    Location
    Newport, South Wales, UK
    Posts
    1,273
    The problem with working directly on the data would be that the writer process would be beholden to whatever's going on in the sockets code.
    It's all the same stuff (it's the display of an SDL application, I am trying to remote a virtual screen).

    I really should get round to running some tests on the mechanics of this, just need to get back to my desk

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 11-20-2013, 01:34 PM
  2. Replies: 2
    Last Post: 10-13-2013, 07:36 PM
  3. Fast 1D to 2D Array Copy
    By Joe Joe in forum C++ Programming
    Replies: 4
    Last Post: 06-09-2011, 01:18 PM
  4. Fast memory copy and realloc()
    By intmail in forum Linux Programming
    Replies: 3
    Last Post: 10-27-2006, 03:46 PM
  5. FAST method to copy char array?
    By MitchellH in forum C++ Programming
    Replies: 4
    Last Post: 10-09-2005, 08:19 AM

Tags for this Thread