diff options
author | Jérémie Dimino <jeremie@dimino.org> | 2015-10-06 10:58:22 +0000 |
---|---|---|
committer | Jérémie Dimino <jeremie@dimino.org> | 2015-10-06 10:58:22 +0000 |
commit | 62b89a3a5c641dd6341882f61a730104ae875b87 (patch) | |
tree | 95080573129aa934791adc2f8dec824f7dbf4548 /otherlibs/systhreads | |
parent | 695a592d48522a8789bc698daa12eb16c7e36e6f (diff) | |
download | ocaml-62b89a3a5c641dd6341882f61a730104ae875b87.tar.gz |
Replace uses of "noalloc" by [@@noalloc]
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16455 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/systhreads')
-rw-r--r-- | otherlibs/systhreads/thread.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/otherlibs/systhreads/thread.ml b/otherlibs/systhreads/thread.ml index 359d271b87..2c5b649d98 100644 --- a/otherlibs/systhreads/thread.ml +++ b/otherlibs/systhreads/thread.ml @@ -22,8 +22,8 @@ external thread_uncaught_exception : exn -> unit = "caml_thread_uncaught_exception" external yield : unit -> unit = "caml_thread_yield" -external self : unit -> t = "caml_thread_self" "noalloc" -external id : t -> int = "caml_thread_id" "noalloc" +external self : unit -> t = "caml_thread_self" [@@noalloc] +external id : t -> int = "caml_thread_id" [@@noalloc] external join : t -> unit = "caml_thread_join" external exit : unit -> unit = "caml_thread_exit" |