Knight's Tour Generator
Tourneys and the Fast Generation and Obfuscation of Closed Knight's Tours
Static Protected Attributes | List of all members
CSearchThreadQueues Class Reference

Search thread queues. More...

#include <SearchThreadQueues.h>

Inheritance diagram for CSearchThreadQueues:
CGenerator CSearchThread

Static Protected Attributes

static CThreadSafeQueue< CSearchRequestm_cSearchRequest
 Search request queue.
 
static CThreadSafeQueue< CSearchResultm_cSearchResult
 Search result queue.
 

Detailed Description

A pair of thread-safe input and output queues for the search threads, These queues are declared static protected because, like The Highlander, there can be only one. This monostate design pattern is apparently called the "Borg idiom" by some members of the Python community, which for some reason I find curiously compelling.

Definition at line 40 of file SearchThreadQueues.h.