summaryrefslogtreecommitdiff
path: root/devel/pth/files (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add startup script for non standard library path.Dirk Froemberg2002-04-281-0/+20
| | | | | | | | PR: ports/37142 Submitted by: Alex Dupre <sysadmin@alexdupre.com> Notes: svn path=/head/; revision=58250
* Backout previous change - it seems that new revision of the patch doesn'tMaxim Sobolev2001-12-201-17/+8
| | | | | | | | | apply everywhere. Submitted by: Todd Punderson <todd@doonga.net> Notes: svn path=/head/; revision=51877
* Don't filter libc_r on 5-CURRENT.Maxim Sobolev2001-12-191-8/+17
| | | | Notes: svn path=/head/; revision=51864
* Don't link in libc - FreeBSD doesn't need this.Maxim Sobolev2001-10-311-4/+14
| | | | | | | Submitted by: Ports Fury Notes: svn path=/head/; revision=49417
* Don't install useless .la files.Maxim Sobolev2001-07-301-0/+18
| | | | Notes: svn path=/head/; revision=45627
* Upgrade to GNU Portable Threads (Pth), version 1.4.0Ralf S. Engelschall2001-03-251-14/+0
| | | | Notes: svn path=/head/; revision=40350
* This patch fixes a scheduling bug and is to be incorporated in theArchie Cobbs2001-03-161-0/+14
next version. In the meantime, apply with the port. FYI, the bug is demonstrated by this program: #include <stdio.h> #include <stdlib.h> #include <pth.h> static int check_something(void *arg) { return (0); } static void *thread(void *arg) { printf("thread sleeping five seconds...\n"); pth_nap(pth_time(5, 0)); printf("thread is done sleeping\n"); /* bug: we never get here */ return (NULL); } int main(int ac, char **av) { pth_event_t ev; pth_init(); pth_spawn(NULL, thread, NULL); ev = pth_event(PTH_EVENT_FUNC, check_something, NULL, pth_time(2, 0)); while (1) pth_wait(ev); } Notes: svn path=/head/; revision=39905