/[hurd]/hurd/libpthread/sysdeps/mach/hurd/pt-sysdep.h
ViewVC logotype

Diff of /hurd/libpthread/sysdeps/mach/hurd/pt-sysdep.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by neal, Thu Oct 10 23:05:05 2002 UTC revision 1.2 by neal, Mon Nov 18 22:20:58 2002 UTC
# Line 1  Line 1 
1  /* Internal defenitions for pthreads library.  /* Internal defenitions for pthreads library.
2     Copyright (C) 2000 Free Software Foundation, Inc.     Copyright (C) 2000, 2002 Free Software Foundation, Inc.
3     This file is part of the GNU C Library.     This file is part of the GNU C Library.
4    
5     The GNU C Library is free software; you can redistribute it and/or     The GNU C Library is free software; you can redistribute it and/or
# Line 45  Line 45 
45              __hurd_threadvar_location (_HURD_THREADVAR_THREAD);    \              __hurd_threadvar_location (_HURD_THREADVAR_THREAD);    \
46                                                                     \                                                                     \
47            assert (thread);                                         \            assert (thread);                                         \
48            assert (thread->kernel_thread == __mach_thread_self ()); \            assert (({ mach_port_t ktid = __mach_thread_self ();     \
49                         int ok = thread->kernel_thread == ktid;       \
50                         __mach_port_deallocate (__mach_task_self (), ktid);\
51                         ok; }));                                      \
52            thread;                                                  \            thread;                                                  \
53           })           })
54    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26