diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-09-29 15:10:17 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-09-29 15:10:17 +0000 |
commit | 4c47a04c0431d4f1cad46094c7a6daf497846a25 (patch) | |
tree | cd3b4ff74b4f4ba042780676731541c8d3e000a9 /gcc/ada/s-taprop-irix.adb | |
parent | d07112c342791bf7dabe3de99dbf274e3a4961f5 (diff) | |
download | gcc-4c47a04c0431d4f1cad46094c7a6daf497846a25.tar.gz |
2011-09-29 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 179351 using svnmerge.
gcc/
2011-09-29 Basile Starynkevitch <basile@starynkevitch.net>
* melt-runtime.c (melt_really_initialize): Change, because
get_random_seed gives a string in GCC 4.6 and a number in GCC 4.7.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@179356 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/s-taprop-irix.adb')
-rw-r--r-- | gcc/ada/s-taprop-irix.adb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ada/s-taprop-irix.adb b/gcc/ada/s-taprop-irix.adb index 26469049920..5b4d4bef16e 100644 --- a/gcc/ada/s-taprop-irix.adb +++ b/gcc/ada/s-taprop-irix.adb @@ -255,7 +255,7 @@ package body System.Task_Primitives.Operations is pragma Assert (Result = 0); end if; - Result := pthread_mutex_init (L, Attributes'Access); + Result := pthread_mutex_init (L.WO'Access, Attributes'Access); pragma Assert (Result = 0 or else Result = ENOMEM); if Result = ENOMEM then @@ -314,7 +314,7 @@ package body System.Task_Primitives.Operations is procedure Finalize_Lock (L : not null access Lock) is Result : Interfaces.C.int; begin - Result := pthread_mutex_destroy (L); + Result := pthread_mutex_destroy (L.WO'Access); pragma Assert (Result = 0); end Finalize_Lock; @@ -335,7 +335,7 @@ package body System.Task_Primitives.Operations is Result : Interfaces.C.int; begin - Result := pthread_mutex_lock (L); + Result := pthread_mutex_lock (L.WO'Access); Ceiling_Violation := Result = EINVAL; -- Assumes the cause of EINVAL is a priority ceiling violation @@ -381,7 +381,7 @@ package body System.Task_Primitives.Operations is procedure Unlock (L : not null access Lock) is Result : Interfaces.C.int; begin - Result := pthread_mutex_unlock (L); + Result := pthread_mutex_unlock (L.WO'Access); pragma Assert (Result = 0); end Unlock; |