English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Smart ways to implement worker threads
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-07-16 (14:41)
From: Dawid Toton <d0@w...>
Subject: Re: Smart ways to implement worker threads

> I find it odd that there is no Threaded_Queue module, a thread save
> version of Queue with 2 extra functions: (...)
I use such a thread-safe queue a lot [1]. This is very simple yet
universal enough. Honestly I can hardly remember using more elaborate


[1] http://pfpleia.if.uj.edu.pl/projects/HLibrary/browser/HQueue.ml