Use of new macro to define internal types not exported.
This commit is contained in:
1 parent
acb886c391
commit
379e0be211
1 file changed
+2
-2
+2
-2
@@ -142,13 +142,13 @@ typedef struct worker_thread_s {
|
||||
} worker_thread_ct;
|
||||
|
||||
/* Definition of the queue that will record the work orders */
|
||||
BUFFER_DEF(worker_queue, worker_order_ct, 0,
|
||||
BUFFER_DEF_AS(worker_queue, m_worker_queue_ct, worker_order_ct, 0,
|
||||
BUFFER_QUEUE|BUFFER_UNBLOCKING_PUSH|BUFFER_BLOCKING_POP|BUFFER_THREAD_SAFE|BUFFER_DEFERRED_POP, WORKER_OPLIST)
|
||||
|
||||
/* Definition the global pool of workers */
|
||||
typedef struct worker_s {
|
||||
/* The work order queue */
|
||||
worker_queue_t queue_g;
|
||||
m_worker_queue_ct queue_g;
|
||||
|
||||
/* The table of available workers */
|
||||
worker_thread_ct *worker;
|
||||
|
||||
Reference in new issue
Block a user