Netsys, multi-threading, with findlib on Debian.
Guillaume Yziquel <[email protected]> Sun, 01 Mar 2009 20:26:41 +0100
| Newsgroups | gmane.comp.lang.ocaml.lib.net.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello.
I've been trying to use netclient on my Debian system:
> yziquel@seldon:~$ ocaml
> Objective Caml version 3.10.2
>
> # #use "topfind";;
> - : unit = ()
> Findlib has been successfully loaded. Additional directives:
> #require "package";; to load a package
> #list;; to list the available packages
> #camlp4o;; to load camlp4 (standard syntax)
> #camlp4r;; to load camlp4 (revised syntax)
> #predicates "p,q,...";; to set these predicates
> Topfind.reset();; to force that packages will be reloaded
> #thread;; to enable threads
>
> - : unit = ()
> # #thread;;
> /usr/lib/ocaml/3.10.2/threads: added to search path
> /usr/lib/ocaml/3.10.2/unix.cma: loaded
> /usr/lib/ocaml/3.10.2/threads/threads.cma: loaded
> # #require "netclient";;
> /usr/lib/ocaml/3.10.2/equeue: added to search path
> /usr/lib/ocaml/3.10.2/equeue/equeue.cma: loaded
> Reference to undefined global `Netsys'
> #
It seems to me (but I may be completely wrong) that netsys is not
packaged in a way that supports multithreading. The META.in tag from the
source of netsys does not contain any mt tag.
Is it intended? Or is it simply me?
All the best,
--
Guillaume Yziquel
http://yziquel.homelinux.org/
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H