Home | History | Annotate | Download | only in pthread_h
      1   /*
      2    * Copyright (c) 2002, Intel Corporation. All rights reserved.
      3    * Created by:  rolla.n.selbak REMOVE-THIS AT intel DOT com
      4    * This file is licensed under the GPL license.  For the full content
      5    * of this license, see the COPYING file at the top level of this
      6    * source tree.
      7 
      8    Test this function is defined:
      9 
     10    pthread_t pthread_self(void);
     11    */
     12 
     13 #include <pthread.h>
     14 
     15 void dummy_func()
     16 {
     17 	pthread_t ptid = pthread_self();
     18 	if (ptid == 0)
     19 		return;
     20 }
     21