[PD-cvs] pd/src m_sched.c,1.5.4.6,1.5.4.7
Tim Blechmann
timblech at users.sourceforge.net
Fri Nov 26 00:16:11 CET 2004
- Previous message: [PD-cvs] pd/src s_audio_asio.cpp,1.1.4.15,1.1.4.16
- Next message: [PD-cvs] externals/grill/dyn build-pd-linux.sh,1.4,1.5 config-pd-linux.txt,1.6,1.7 makefile.pd-linux,1.4,1.5 dyn_conn.cpp,1.1,1.2 dyn_pd.h,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21591
Modified Files:
Tag: devel_0_38
m_sched.c
Log Message:
improved idle callbacks
Index: m_sched.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/m_sched.c,v
retrieving revision 1.5.4.6
retrieving revision 1.5.4.7
diff -C2 -d -r1.5.4.6 -r1.5.4.7
*** m_sched.c 24 Nov 2004 18:57:40 -0000 1.5.4.6
--- m_sched.c 25 Nov 2004 23:16:09 -0000 1.5.4.7
***************
*** 667,671 ****
do
{
! if (cb_fifo_begin->function(cb_fifo_begin->argv) == 0)
{
t_sched_callback* next = cb_fifo_begin->next;
--- 667,677 ----
do
{
! int resume;
! if(cb_fifo_begin->argc)
! resume = cb_fifo_begin->function(cb_fifo_begin->argv);
! else
! resume = cb_fifo_begin->function();
!
! if (resume == 0)
{
t_sched_callback* next = cb_fifo_begin->next;
***************
*** 678,682 ****
}
while ( sys_getrealtime() > stop && cb_fifo_begin);
!
return 0; /* don't sleep */
}
--- 684,688 ----
}
while ( sys_getrealtime() > stop && cb_fifo_begin);
!
return 0; /* don't sleep */
}
***************
*** 689,693 ****
#error to be implemented
! #endif /* LOCK_FREE */
/* } tb */
--- 695,699 ----
#error to be implemented
! #endif
/* } tb */
- Previous message: [PD-cvs] pd/src s_audio_asio.cpp,1.1.4.15,1.1.4.16
- Next message: [PD-cvs] externals/grill/dyn build-pd-linux.sh,1.4,1.5 config-pd-linux.txt,1.6,1.7 makefile.pd-linux,1.4,1.5 dyn_conn.cpp,1.1,1.2 dyn_pd.h,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Pd-cvs
mailing list