diff packages/kernel/current/include/kapi.h @ 1436:1b465c781382

New API for cyg_thread_get_id() - from Dan Jakubiec
author gthomas
date Tue, 09 Dec 2003 15:10:39 +0000
parents a65a4055f146
children 57cebf53b527
line wrap: on
line diff
--- a/packages/kernel/current/include/kapi.h
+++ b/packages/kernel/current/include/kapi.h
@@ -229,6 +229,8 @@ cyg_bool_t cyg_thread_get_info( cyg_hand
                                 cyg_uint16 id,
                                 cyg_thread_info *info );
 
+cyg_uint16 cyg_thread_get_id( cyg_handle_t thread );
+
 cyg_handle_t cyg_thread_find( cyg_uint16 id );
     
 /*---------------------------------------------------------------------------*/