adaint.c: Add function __gnat_lwp_self that retrieves the LWP of the current thread.
authorNicolas Roche <roche@adacore.com>
Wed, 15 Apr 2009 10:06:20 +0000 (10:06 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 15 Apr 2009 10:06:20 +0000 (12:06 +0200)
commit442dd5fb23f716aaabf465ead17b4dfb63421699
tree4469e171ddac22ee50aeea8398d926ae45ad780e
parentcbd8be94c2233082bb4af2074b7878c7f7797adc
adaint.c: Add function __gnat_lwp_self that retrieves the LWP of the current thread.

2009-04-15  Nicolas Roche  <roche@adacore.com>

* adaint.c: Add function __gnat_lwp_self that retrieves the LWP of the
current thread.

* s-osinte-linux.ads: Import the __gnat_lwp_self function as lwp_self

* s-taprop-linux.adb (Enter_Task): Store the LWP in the TCB

From-SVN: r146097
gcc/ada/ChangeLog
gcc/ada/adaint.c
gcc/ada/s-osinte-linux.ads
gcc/ada/s-taprop-linux.adb