diff options
author | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-08-27 10:54:28 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-08-27 10:54:28 +0200 |
commit | 99c5d9283622a0b37ee80f83ff4875c059fc5990 (patch) | |
tree | 3460ec503898d2184dc807e47eea679d24d96d5c /src/app_thread.hpp | |
parent | aacdb7a454686bfac93164d0e67e785658d48a3c (diff) |
pipes added
Diffstat (limited to 'src/app_thread.hpp')
-rw-r--r-- | src/app_thread.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/app_thread.hpp b/src/app_thread.hpp index e7bbf70..e45b1b2 100644 --- a/src/app_thread.hpp +++ b/src/app_thread.hpp @@ -53,7 +53,9 @@ namespace zmq // Processes commands sent to this thread (if any). If 'block' is // set to true, returns only after at least one command was processed. - void process_commands (bool block_); + // If throttle argument is true, commands are processed at most once + // in a predefined time period. + void process_commands (bool block_, bool throttle_); // Create a socket of a specified type. class socket_base_t *create_socket (int type_); |