From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id NAA04037; Thu, 16 Oct 2003 13:52:55 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id NAA04951 for ; Thu, 16 Oct 2003 13:52:54 +0200 (MET DST) Received: from flyingtuxman.baretta.com ([213.255.109.130]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h9GBqr113146 for ; Thu, 16 Oct 2003 13:52:54 +0200 (MET DST) Received: from baretta.com (flyingtuxman.baretta.com [127.0.0.1]) by flyingtuxman.baretta.com (8.12.8/8.12.8) with ESMTP id h9GBqP0Y001641 for ; Thu, 16 Oct 2003 13:52:25 +0200 Message-ID: <3F8E8679.2010403@baretta.com> Date: Thu, 16 Oct 2003 13:52:25 +0200 From: Alex Baretta User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030617 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ocaml Subject: [Caml-list] Realtime Ocaml Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Loop: caml-list@inria.fr X-Spam: no; 0.00; baretta:01 baretta:01 plc:99 plc:99 ocaml's:01 ocaml:01 garbage:01 alex:01 alex:01 collector:02 thread:02 realtime:05 realtime:05 i'm:07 interact:91 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk I'm working on a realtime PLC application on a Linux device. My PLC will run several different concurrent tasks in a multithreaded environment. How can I interact with ocaml's thread scheduling policy so that I can make sure that no task hogs the cpu, but all tasks cooperate harmoniously? Further, how can I make sure that the garbage collector is never fired during "critical sections" of my code, when the controlled device is not in a quiescent, safe state? Thanks! Alex ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners