Changeset d035cf7
- Timestamp:
- Sep 30, 2020, 3:54:43 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 29185fc
- Parents:
- 87b9332
- Location:
- doc/theses/thierry_delisle_PhD/code/readQ_example
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/thierry_delisle_PhD/code/readQ_example/proto-gui/main.cpp
r87b9332 rd035cf7 5 5 #include <algorithm> 6 6 #include <atomic> 7 #include <iostream> 7 8 #include <memory> 8 9 #include <vector> … … 246 247 std::cout << "(Buffering " << nframes << ")" << std::endl; 247 248 248 thrdlib_ setproccnt( 2 );249 thrdlib_init( 2 ); 249 250 250 251 thread_t stats = thrdlib_create( Stats ); … … 262 263 thrdlib_join( stats ); 263 264 265 thrdlib_clean(); 266 264 267 std::cout << "----------" << std::endl; 265 268 std::cout << "# Parks" << std::endl; -
doc/theses/thierry_delisle_PhD/code/readQ_example/thrdlib/thread.h
r87b9332 rd035cf7 1 #pragma once 1 2 2 #include "thread_pthread.h" 3 // #include "thread_pthread.h" 4 5 #include "thread_libfibre.h" -
doc/theses/thierry_delisle_PhD/code/readQ_example/thrdlib/thread_pthread.h
r87b9332 rd035cf7 98 98 //-------------------- 99 99 // Basic kernel features 100 void thrdlib_setproccnt( int ) { 101 102 } 100 void thrdlib_init( int ) {} 101 void thrdlib_clean( void ) {} 103 102 104 103
Note: See TracChangeset
for help on using the changeset viewer.