<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Maybe I'll have a look on a recent version of Hans Boehms GC.<br>
It is used on many platforms, being part of gcc(?).<br>
<br>
Best wishes,<br>
<br>
Hans<br>
<br>
<br>
Eli Barzilay schreef:
<blockquote cite="mid:18077.34010.173792.640722@kinyarwanda.ccs.neu.edu"
type="cite">
<pre wrap="">Matthew -- do you have an opinion on all this? -- On using Hans's
code for implementing async calls.
(The CGC code is probably not in great shape -- looks like it's not
really used.)
On Jul 17, Hans Oesterholt-Dijkema wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hmm. Let's see. I can test on the following platforms:
OSX
Linux (slackware 8, suse 10)
Windows XP
FreeBSD --> I can make a vmware image.
Solaris: I can't test that.
AIX 5.3: I could test that.
Most platforms support pthreads though.
Note however the code in the 'gc' subdir:
# include "gc_config_macros.h"
# include "private/gcconfig.h"
# include <stdio.h>
int main()
{
# if defined(GC_USE_LD_WRAP)
        printf("-Wl,--wrap -Wl,dlopen "
         "-Wl,--wrap -Wl,pthread_create -Wl,--wrap -Wl,pthread_join "
         "-Wl,--wrap -Wl,pthread_detach "
         "-Wl,--wrap -Wl,pthread_sigmask -Wl,--wrap -Wl,sleep\n");
# endif
# if defined(GC_LINUX_THREADS) || defined(GC_IRIX_THREADS) \
        || defined(GC_SOLARIS_PTHREADS) \
        || defined(GC_DARWIN_THREADS) || defined(GC_AIX_THREADS)
printf("-lpthread\n");
# endif
# if defined(GC_FREEBSD_THREADS)
# if (__FREEBSD_version >= 500000)
printf("-lpthread\n");
# else
printf("-pthread\n");
# endif
# endif
# if defined(GC_NETBSD_THREADS)
         printf("-lpthread -lrt\n");
# endif
# if defined(GC_HPUX_THREADS) || defined(GC_OSF1_THREADS)
        printf("-lpthread -lrt\n");
# endif
# if defined(GC_SOLARIS_THREADS) && !defined(GC_SOLARIS_PTHREADS)
printf("-lthread -ldl\n");
# endif
# if defined(GC_WIN32_THREADS) && defined(CYGWIN32)
printf("-lpthread\n");
# endif
# if defined(GC_OSF1_THREADS)
        printf("-pthread -lrt"); /* DOB: must be -pthread, not -lpthread */
# endif
/* You need GCC 3.0.3 to build this one! */
/* DG/UX native gcc doesnt know what "-pthread" is */
# if defined(GC_DGUX386_THREADS)
printf("-ldl -pthread\n");
# endif
return 0;
}
It all seems to be pthreads, except for standard windows of course.
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
</body>
</html>