On Thu, Mar 11, 2004 at 04:18:15PM -0800, Steve Kargl wrote: > > http://www.cs.utah.edu/~regehr/hourglass/ > > I looked at the site. The web page states that hourglass required > linuxthreads on FreeBSD. You'll probably need to ask Daniel, David, > or Julian (the KSE gang) how difficult it may be to port hourglass > to use KSE and lpthread. It's very easy actually. I submitted a patch to John Regehr at Utah, but he is a bit busy these days. It compiled and ran quite nicely, but I am not a scheduling guru, so don't know how to analyze the results. --- aclocal.m4.orig Fri Mar 5 17:42:03 2004 +++ aclocal.m4 Fri Mar 5 17:42:13 2004 _at__at_ -36,7 +36,7 _at__at_ # serial 10 -AC_PREREQ([2.54]) +AC_PREREQ([2.53]) # Autoconf 2.50 wants to disallow AM_ names. We explicitly allow # the ones we care about. --- configure.ac.orig Fri Mar 5 17:41:40 2004 +++ configure.ac Fri Mar 5 14:10:33 2004 _at__at_ -95,8 +95,11 _at__at_ on_unix='yes' ; on_windows='no' ;; *freebsd*) - LDFLAGS='-llthread -llgcc_r -L/usr/local/lib' ; - CFLAGS='-D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads' ; + os_version=`sysctl -n kern.osreldate` + if test $os_version -lt "502102"; then + LDFLAGS='-llthread -llgcc_r -L/usr/local/lib' ; + CFLAGS='-D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads' ; + fi on_unix='yes' ; on_windows='no' ;; *cygwin*) -- Craig Rodrigues http://crodrigues.org rodrigc_at_crodrigues.orgReceived on Thu Mar 11 2004 - 15:43:53 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:47 UTC