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 MAA01600; Fri, 30 Aug 2002 12:06:44 +0200 (MET DST) Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id MAA01828 for caml-list@pauillac.inria.fr; Fri, 30 Aug 2002 12:06:43 +0200 (MET DST) 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 UAA20416 for ; Thu, 29 Aug 2002 20:53:24 +0200 (MET DST) Received: from mel-rto6.wanadoo.fr (smtp-out-6.wanadoo.fr [193.252.19.25]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g7TIrND15680 for ; Thu, 29 Aug 2002 20:53:23 +0200 (MET DST) Received: from mel-rta9.wanadoo.fr (193.252.19.69) by mel-rto6.wanadoo.fr (6.5.007) id 3D6246E800439AC2; Thu, 29 Aug 2002 20:53:23 +0200 Received: from ketanu.dyndns.org (80.14.50.188) by mel-rta9.wanadoo.fr (6.5.007) id 3D49FFB700AAF987; Thu, 29 Aug 2002 20:53:23 +0200 Received: from ketanu.dyndns.org (localhost [127.0.0.1]) by ketanu.dyndns.org (8.12.3/8.12.3) with ESMTP id g7TItINT002518; Thu, 29 Aug 2002 20:55:18 +0200 (CEST) (envelope-from michael-grunewald@wanadoo.fr) Received: (from michael@localhost) by ketanu.dyndns.org (8.12.3/8.12.3/Submit) id g7TItHwS002515; Thu, 29 Aug 2002 20:55:17 +0200 (CEST) (envelope-from michael-grunewald@wanadoo.fr) X-Authentication-Warning: ketanu.dyndns.org: michael set sender to michael-grunewald@wanadoo.fr using -f To: Berke Durak Cc: caml-list@inria.fr Subject: Re: [Caml-list] Re: Two severe limitations in Graphics module References: <20020827203437.GA326@gogol> <87u1lfikjx.fsf@ketanu.dyndns.org> <20020829110615.GB304@gogol> From: "=?iso-8859-15?q?Micha=EBl_Gr=FCnewald?=" Organization: (none) Date: 29 Aug 2002 20:55:17 +0200 In-Reply-To: <20020829110615.GB304@gogol> Message-ID: <878z2pwl4a.fsf@ketanu.dyndns.org> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Berke Durak writes: > On Wed, Aug 28, 2002 at 08:06:42AM +0200, Michaël Grünewald wrote: > > 1/You may have two threads, the first will watch the keyboard > > (wait_next_event), the second will update puzzle tiles positions, both will > > send events to your main loop, that will process these events. > > I will try to do this, thanks. I just tried ocamlsdl (I get a weird > relocation error at exit) and ocamlsvga (my S3 card isn't fully > supported), so I have no other choice. This is just an idea :) > I don't like threads very much because they are hard to debug with > ocamldebug, and native threads are not supported under every OS (for > ex. OpenBSD). Humm, isn't *everything* hard to debug with a debugger ? I never did use one, and had ever been happy with `printf' and `flush', and according to many people, the debugger is to be reserved for `critical' bugs. Bye ! -- Michaël Grünewald - RSA PGP Key ID: 0x20D90C12 ------------------- 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