pcp
[Top] [All Lists]

pcp updates

To: pcp@xxxxxxxxxxx
Subject: pcp updates
From: Nathan Scott <nscott@xxxxxxxxxx>
Date: Tue, 24 Mar 2009 21:36:52 +1100 (EST)
Changes committed to git://oss.sgi.com/nathans/pcp.git

 src/libpcp/src/AF.c        |  154 ++++++++++++++++++++++++++++++----------
 src/libpcp/src/GNUmakefile |    6 -
 src/libpcp/src/logutil.c   |    2 
 src/libpcp/src/pdu.c       |    2 
 src/libpcp/src/win32.c     |  171 ---------------------------------------------
 5 files changed, 119 insertions(+), 216 deletions(-)

commit 3149d69885c6f108603c2d6a301e0f89df7b8bdc
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Mar 24 21:30:11 2009 +1100

    Work around quirks of the Mac OS X linker, this time.
    
    Linker errors result when externally visible, global symbols
    are not initialised.  *groan* yet another bizzaro linker rule.

commit 8c339a47a81b5b246cf34db4c4e0f705329d6d49
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Mar 24 12:51:51 2009 +1100

    Completely rework the Win32 asynchronous events implementation.
    
    It turns out the Win32 TimerQueue is not providing quite what we
    want here, despite the fact that it looks a perfect match.  Once
    we start running the QA tests (slow_af.c in particular) it emits
    timers all over the shop pretty quickly; starts out the way we'd
    expect with the first four events, but quickly degrades to only
    emitting timer callbacks for the last timer registered.  And its
    very hard to debug, being completely opaque to the caller.
    
    So, instead provide an implementation of setitimer and something
    to holdoff multiple callers inside the onalarm callback in AF.c,
    and now we run with the same implementation as each of the other
    supported PCP platforms.  And the test passes, hooray.

<Prev in Thread] Current Thread [Next in Thread>