Jérémie Dimino
62b89a3a5c
Replace uses of "noalloc" by [@@noalloc]
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16455 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-10-06 10:58:22 +00:00
Gabriel Scherer
e91bb93784
GPR#196: Make [Thread.id] and [Thread.self] [noalloc].
...
(Clark Gaebel)
These functions are called every tick of the Async scheduler, and
are the only remaining calls to [caml_c_call] every cycle. It would
be nice to remove them, especially since these functions don't
allocate.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16259 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-07-26 19:01:45 +00:00
Damien Doligez
7844495624
Merge branch 4.01 from branching point to 4.01.0+rc1
...
Command line used:
svn merge --accept postpone -r 13776:14055 $REPO/version/4.01 .
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14060 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-09-04 15:12:37 +00:00
Damien Doligez
def31744f9
remove all $Id keywords
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13013 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-15 17:50:56 +00:00
Alain Frisch
a0a14c08fa
Enable and fix more warnings.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12498 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-29 11:47:28 +00:00
Damien Doligez
3b507dd1aa
renaming of Objective Caml to OCaml and cleanup of copyright headers
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11156 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-27 14:17:02 +00:00
Damien Doligez
04b1656222
clean up spaces and tabs
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9547 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-22 12:48:24 +00:00
Xavier Leroy
db8a3fa2c2
Separer initialisation de base et initialisation du timer
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5445 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-03-20 16:23:04 +00:00
Xavier Leroy
7501784c80
MAJ en-tetes pour mentionner la 'special exception' sur la LGPL
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4144 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-12-07 13:41:02 +00:00
Xavier Leroy
b40b5c1c73
Afficher un backtrace lorsqu'une exception termine un thread
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3528 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-06-15 14:23:20 +00:00
Xavier Leroy
df0475ee41
Ajout de Thread.yield. Revu la preemption
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2713 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-12-23 17:34:28 +00:00
Xavier Leroy
cc0f32b054
Changement de la licence
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2553 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-17 18:59:06 +00:00
Pierre Weis
208727b833
Éviction des alertes des séquences.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2171 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-11-12 14:51:27 +00:00
Xavier Leroy
71c1e3a6ab
Tentatives pour rendre le scheduler plus rapide
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2158 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-11-06 10:25:45 +00:00
Xavier Leroy
ee8cf7ae10
Ajout de Semaphore, Thread.wait_signal
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2041 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-08-08 16:54:14 +00:00
Xavier Leroy
8145ec700f
Introduction de Thread.select, qui subsume wait_{timed,}_{read,write}
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1494 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-04-11 13:57:34 +00:00
Xavier Leroy
e4ff50278e
Il faut que wait_timed_{read,write} ne prennent qu'un argument, comme
...
toutes les autres primitives qui reschedulent.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1322 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-03-05 14:37:59 +00:00
Xavier Leroy
146c843406
scheduler: ajout de tests d'initialisation.
...
thread.ml: type de thread_wait_pid.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1079 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-10-17 09:59:18 +00:00
Xavier Leroy
2301d778e7
Renommage en Objective Caml
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@782 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-04-30 14:53:58 +00:00
Xavier Leroy
e3659d5b1b
Ajout de Thread.wait_pid, wait_timed_read, wait_timed_write.
...
Plus de fonctions dans threadIO.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@766 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-04-29 13:21:09 +00:00
Jérôme Vouillon
7974a9d8b1
Extension objets.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@756 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-04-22 11:15:41 +00:00
Xavier Leroy
96352de1de
Ajout de read/write avec timeout.
...
Ajout de l'attente sur la terminaison d'un process Unix.
threadIO: reimplementation des fonctions d'ecriture et de davantage de
fonctions de lecture.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@749 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-04-18 16:32:04 +00:00
Xavier Leroy
173cb4075f
Retour en arriere sur l'emploi des threads POSIX. On revient a
...
l'ancienne implementation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@732 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-04-03 10:02:34 +00:00
Xavier Leroy
97e6ed9a73
Bibliotheque threads entierement reimplementee au-dessus des threads POSIX.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@719 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-04-01 15:26:00 +00:00
Xavier Leroy
ee63e8d356
Ajout de la fonction Thread.id
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@679 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-03-05 10:12:07 +00:00
Xavier Leroy
e2ae152205
Makefile: nouveau systeme d'autoconfiguration.
...
scheduler.c thread: ajout du select en ecriture.
event: typo dans la doc.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@628 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-02-13 16:28:00 +00:00
Xavier Leroy
7ebdfa6634
Ajout de Thread.join
...
Representation des threads modifiee pour pouvoir faire = dessus.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@452 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-11-16 10:59:57 +00:00
Xavier Leroy
badced06e1
Debug intensif. Ajout du module Event.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@444 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-11-14 17:11:31 +00:00
Xavier Leroy
ef689c7bf2
Separation des locks et des conditions. Nettoyage du scheduler.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@396 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-11-05 17:27:32 +00:00
Xavier Leroy
3f852a4fc6
La bibliotheque de threads.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@370 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-10-30 10:21:56 +00:00