示例#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
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);
}