]> pd.if.org Git - liblfds/blob - liblfds/liblfds7.0.0/test/src/test_lfds700_queue_bounded_singleconsumer_singleproducer.c
Initial import (all versions, including the new 7.1.0)
[liblfds] / liblfds / liblfds7.0.0 / test / src / test_lfds700_queue_bounded_singleconsumer_singleproducer.c
1 /***** includes *****/
2 #include "internal.h"
3
4
5
6
7
8 /****************************************************************************/
9 void test_lfds700_queue_bss( struct lfds700_list_asu_state *list_of_logical_processors )
10 {
11   assert( list_of_logical_processors != NULL );
12   // TRD : memory_in_megabytes can be any value in its range
13
14   printf( "\n"
15           "Queue (bounded, single consumer, single producer) Tests\n"
16           "=======================================================\n" );
17
18   // TRD : no alignment checks are required for queue_bss
19   test_lfds700_queue_bss_enqueuing();
20   test_lfds700_queue_bss_dequeuing();
21   test_lfds700_queue_bss_enqueuing_and_dequeuing( list_of_logical_processors );
22
23   return;
24 }
25