mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
- DoTimer() did not allocate the local MsgPort correctly. Fixed.
git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@15024 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: amiga_dotimer.c,v 1.4 2005-03-18 12:38:21 obarthel Exp $
|
* $Id: amiga_dotimer.c,v 1.5 2005-08-31 07:26:13 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
@ -67,9 +67,10 @@ DoTimer(struct timeval *tv,LONG unit,LONG command)
|
|||||||
#if defined(__amigaos4__)
|
#if defined(__amigaos4__)
|
||||||
{
|
{
|
||||||
mp = AllocSysObjectTags(ASOT_PORT,
|
mp = AllocSysObjectTags(ASOT_PORT,
|
||||||
ASOPORT_Action, PA_SIGNAL,
|
ASOPORT_Action, PA_SIGNAL,
|
||||||
ASOPORT_Signal, SIGB_SINGLE,
|
ASOPORT_AllocSignal, FALSE,
|
||||||
ASOPORT_Target, FindTask(NULL),
|
ASOPORT_Signal, SIGB_SINGLE,
|
||||||
|
ASOPORT_Target, FindTask(NULL),
|
||||||
TAG_DONE);
|
TAG_DONE);
|
||||||
|
|
||||||
if(mp == NULL)
|
if(mp == NULL)
|
||||||
@ -113,7 +114,7 @@ DoTimer(struct timeval *tv,LONG unit,LONG command)
|
|||||||
|
|
||||||
PROFILE_OFF();
|
PROFILE_OFF();
|
||||||
|
|
||||||
SetSignal(0,SIGF_SINGLE);
|
SetSignal(0,(1UL << mp->mp_SigBit));
|
||||||
|
|
||||||
error = DoIO((struct IORequest *)tr);
|
error = DoIO((struct IORequest *)tr);
|
||||||
|
|
||||||
|
|||||||
@ -39,6 +39,8 @@
|
|||||||
was broken due to a misplaced overflow check, which had the cruel
|
was broken due to a misplaced overflow check, which had the cruel
|
||||||
effect of triggering for 32 bit integers as well. Fixed.
|
effect of triggering for 32 bit integers as well. Fixed.
|
||||||
|
|
||||||
|
- DoTimer() did not allocate the local MsgPort correctly. Fixed.
|
||||||
|
|
||||||
|
|
||||||
c.lib 1.194 (15.7.2005)
|
c.lib 1.194 (15.7.2005)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user