ACM Home Page
Please provide us with feedback. Feedback
A new pattern for flexible worker threads with in-place consumption message queues
Full text PdfPdf (366 KB)
Source ACM SIGOPS Operating Systems Review archive
Volume 39 ,  Issue 2  (April 2005) table of contents
Pages: 71 - 73  
Year of Publication: 2005
ISSN:0163-5980
Authors
Robert Steinke  Jet Propulsion Laboratory, Pasadena, CA
Micah Clark  Jet Propulsion Laboratory, Pasadena, CA
Elihu McMahon  Jet Propulsion Laboratory, Pasadena, CA
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 4,   Downloads (12 Months): 11,   Citation Count: 0
Additional Information:

abstract   references   index terms   collaborative colleagues  

Tools and Actions: Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1055218.1055224
What is a DOI?

ABSTRACT

We present a new pattern for implementing worker threads that is more flexible than traditional patterns. Traditional worker threads receive command messages with enumerated IDs that refer to pre-defined behaviors. In our new pattern, worker threads receive function pointers, and they have only one behavior: invoke the function. In this way, new behaviors can be passed in to the thread at run-time rather than having to be pre-defined. In addition, we present in-place consumption as an improvement for command message queues that reduces the number of times data needs to be copied.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
I. Barile: I/O Multiplexing & Scalable Socket Servers. Dr. Dobb's Journal, Vol. 29, No. 2, Feb 2004, pp. 42--5
 
2
JTC1.22.19768 ISO/IEC TR 19768 - C++ Library Extensions available from: http://www.open-std.org/jtc1/sc22/wg21/docs/projects#19768
 
3
M. Beck, H. Bohme, M. Dziadzka, U. Kunitz, R. Magnus, C. Schroter, D. Verworner: Linux Kernel Programming, 3rd Edition. Addison Wesley, London, 2002

Collaborative Colleagues:
Robert Steinke: colleagues
Micah Clark: colleagues
Elihu McMahon: colleagues