Uploaded image for project: 'hicn'
  1. hicn
  2. HICN-130

Add producer API which takes ownership of the application buffer

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Medium Medium
    • 19.04
    • None
    • hicn/libtransport
    • None

      TheĀ  current producer API copies the buffer in order to avoid subsequent unexpected deallocations or manipulations made by the application after the produce().

      However, in some cases the application might just transfer the ownership of the buffer to the libtransport (because maybe that buffer is not required anymore), avoiding a useless copy and speeding up the segmentation operation.

            mauro91 Mauro Sardara
            mauro91 Mauro Sardara
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: