예제 #1
0
파일: ipcp-2.c 프로젝트: gmarkall/gcc
int
top2 (int q)
{
  do_stuff (200);
  do_other_stuff ();
  return bah (16, q);
}
예제 #2
0
void *thread_mmain(void * arg)
{
   int tid =  * ((int *) arg);
   threadIDs[tid] = pthread_self();

   while(1==1)
   {
       do_other_stuff();
       man_enter();
   }
}
예제 #3
0
void *thread_fmain(void * arg)
{
   int tid =  *((int *) arg);
   threadIDs[tid] = pthread_self();

   while(1==1)
   {
       do_other_stuff();
       woman_enter();
       use_rr();
       woman_leave();
   }
}
예제 #4
0
파일: listing_3.7.cpp 프로젝트: AnnYN/CCiA
void other_stuff()
{
    high_level_func();
    do_other_stuff();
}
예제 #5
0
int main()
{
    std::future<int> the_answer = std::async(find_the_answer_to_ltuae);
    do_other_stuff();
    std::cout << "The answer is " << the_answer.get() << std::endl;
}
예제 #6
0
파일: ipcp-2.c 프로젝트: gmarkall/gcc
int
top1 (int q)
{
  do_other_stuff ();
  return bah (0, q);
}