Welcome![Sign In][Sign Up]
Location:
Search - queueTest

Search list

[Process-Threadqueuetest.zip

Description: 使用信号灯(semaphore),事件(Event),临界区(CriticalSection)进行线程同步的例子
Platform: | Size: 16937 | Author: | Hits:

[Other resourcequeueTest

Description: STL 队列使用教程。主要介绍基于STL的Queue的使用方法。
Platform: | Size: 8422 | Author: zhangziliang | Hits:

[CommunicationQueueTest

Description: VC++ 封装了队列类 /// /// /// ///// //this a example for using Queue ///////////////////////////////////////// #include \"Queue.h\" //define queue data struct struct QueueData { char data[20] int nId } //define queue typedef TQueue<QueueData> TMyQueue //put data into queue { QueueData data memset(&data, 0, sizeof(data)) strcpy(data.data, \"hello!\") data.nId = 0 m_pMyQueue.TryPut(data) } //try put data into queue { QueueData data memset(&data, 0, sizeof(data)) strcpy(data.data, \"hello!\") data.nId = 0 if(m_pMyQueue.TryPut(data) != 0) { MessageBox(\"put queue error\") } else { MessageBox(\"put queue success\") } } //get data from queue { QueueData data memset(&data, 0, sizeof(data)) m_pMyQueue.Get(data) MessageBox(data.data) } //try get data from queue { QueueData data memset(&data, 0, sizeof(data)) m_pMyQueue.TryGet(data) MessageBox(data.data) }-cohort of VC Packaging category ///////////////////////////////////////// / / this is a example for using Queue ///////////////////////////////////////// # include "Queue . h "/ / define queue data struct QueueData struct (char data [20] int nId) / / define queue typedef TQueuelt; QueueDatagt; TMyQueue / / put data into QueueData data queue (memset (data, 0, sizeof (data)) htpasswd (data.data, "hello!") data.nId m_pMyQueue.TryPut = 0 (data)) / / try put data into QueueData data queue (memset (data, 0, sizeof (data)) htpasswd (data. data, "hello!") data.nId = 0 if (m_pMyQueue.TryPut (data)! = 0) (MessageBox ( "put queue error")) else (MessageBox ( "put queue success"))) / / get data from QueueData data queue (memset (data, 0, sizeof (data))
Platform: | Size: 34517 | Author: zj | Hits:

[Process-Threadqueuetest

Description: 使用信号灯(semaphore),事件(Event),临界区(CriticalSection)进行线程同步的例子- Uses the signal light (semaphore), the event (Event), the critical zone (CriticalSection) carries on line regulation synchronization the example
Platform: | Size: 17408 | Author: 站长 | Hits:

[CommunicationQueueTest

Description: VC++ 封装了队列类 /// /// /// ///// //this a example for using Queue ///////////////////////////////////////// #include "Queue.h" //define queue data struct struct QueueData { char data[20] int nId } //define queue typedef TQueue<QueueData> TMyQueue //put data into queue { QueueData data memset(&data, 0, sizeof(data)) strcpy(data.data, "hello!") data.nId = 0 m_pMyQueue.TryPut(data) } //try put data into queue { QueueData data memset(&data, 0, sizeof(data)) strcpy(data.data, "hello!") data.nId = 0 if(m_pMyQueue.TryPut(data) != 0) { MessageBox("put queue error") } else { MessageBox("put queue success") } } //get data from queue { QueueData data memset(&data, 0, sizeof(data)) m_pMyQueue.Get(data) MessageBox(data.data) } //try get data from queue { QueueData data memset(&data, 0, sizeof(data)) m_pMyQueue.TryGet(data) MessageBox(data.data) }-cohort of VC Packaging category /////////////////////////////////////////// this is a example for using Queue /////////////////////////////////////////# include "Queue . h "//define queue data struct QueueData struct (char data [20] int nId)// define queue typedef TQueuelt; QueueDatagt; TMyQueue// put data into QueueData data queue (memset (data, 0, sizeof (data)) htpasswd (data.data, "hello!") data.nId m_pMyQueue.TryPut = 0 (data))// try put data into QueueData data queue (memset (data, 0, sizeof (data)) htpasswd (data. data, "hello!") data.nId = 0 if (m_pMyQueue.TryPut (data)! = 0) (MessageBox ( "put queue error")) else (MessageBox ( "put queue success")))// get data from QueueData data queue (memset (data, 0, sizeof (data))
Platform: | Size: 33792 | Author: zj | Hits:

[STLqueueTest

Description: STL 队列使用教程。主要介绍基于STL的Queue的使用方法。-STL queue using the tutorial. Mainly based on the STL
Platform: | Size: 216064 | Author: zhangziliang | Hits:

[Other Embeded programQueueTest

Description: C语言实现队列的多态性。能用循环队列对任何数据类型进行操作。-The source code uses C to realize the polymorphism of Loop Queue
Platform: | Size: 3072 | Author: Stefan Ming | Hits:

[CSharpQueueTest

Description: 测试队列功能,用于银行排号、政府机构排号等场合的使用-Use test queuing for Arranging banks, government agencies and other occasions Arranging
Platform: | Size: 62464 | Author: Joy | Hits:

CodeBus www.codebus.net