Commit Graph

136 Commits

Author SHA1 Message Date
David Rose 2cdd26901e yield thread for each task, and even when there are no tasks 2009-07-15 19:41:44 +00:00
David Rose 8407030245 recursive task manager message 2009-06-20 23:50:31 +00:00
David Rose a5e0de3988 python on iphone 2009-04-28 00:57:56 +00:00
David Rose 98c18ce510 prevent pyobject leak 2009-04-10 20:33:40 +00:00
David Rose 7f3641ed49 show parameter list 2009-03-17 21:38:09 +00:00
Darren Ranalli 7f3c5d660f memory leak fix 2009-02-17 07:10:40 +00:00
Darren Ranalli d5d23c2fa7 fix memory leak 2009-02-04 00:10:38 +00:00
David Rose 6750577676 assert that Task is not null 2008-12-29 15:59:51 +00:00
David Rose eccea893f3 fix crash when no active tasks 2008-12-24 00:44:55 +00:00
rdb 227c7c3497 Compatibility with Python 2.3 2008-11-30 13:22:34 +00:00
David Rose fbc38a3e01 collection operator + 2008-11-10 23:54:45 +00:00
David Rose 58e0537e3c wide interrogate improvements: sequence protocol, MAKE_SEQ, __setitem__, and parameter coercion 2008-11-07 21:12:42 +00:00
David Rose bb1f8d6ce2 go back to Dtool_TypedReferenceCount 2008-11-06 23:26:51 +00:00
David Rose d5ca1571ba compiler warning 2008-11-05 19:45:27 +00:00
David Rose 02d94cc8d2 recalcWakeTime() 2008-10-31 05:02:57 +00:00
David Rose 6ae98c3ce7 squelch compiler warning 2008-10-28 22:05:55 +00:00
David Rose 0109374689 fix task.time within a sequence 2008-10-28 21:57:43 +00:00
David Rose 8e68eb1dcd is_alive() 2008-10-22 19:12:33 +00:00
rdb abe13bd4f0 Compile without python 2008-10-16 17:48:49 +00:00
David Rose 02d98e41c7 friendlier interface for task management 2008-10-14 02:17:38 +00:00
David Rose ef771a796b make sync primitives more similar to python function names 2008-10-14 00:07:05 +00:00
David Rose 3bd5914b57 upon_birth race condition issues 2008-10-13 18:24:18 +00:00
David Rose bc2dcf0410 add get_name_prefix 2008-10-11 15:29:51 +00:00
David Rose 7683d94100 add TaskManager- events 2008-10-11 14:49:10 +00:00
David Rose 58f3f8f322 fix error at shutdown 2008-10-11 01:56:09 +00:00
David Rose bca1533952 interrupt should not stop task 2008-10-10 21:30:11 +00:00
David Rose 907527a9c5 better scheduling algorithm 2008-10-10 20:54:15 +00:00
David Rose d4c2c9858d SIMPLE_THREADS_NO_MUTEX -> LightMutex 2008-10-08 23:23:40 +00:00
David Rose a6a4a893d0 Task.sequence() 2008-10-05 00:24:55 +00:00
David Rose 2fc35f05c8 whoops, install headers, not .cxx file 2008-10-03 21:58:04 +00:00
David Rose 4beba6ca6f integrate pview with new task manager 2008-10-03 20:30:07 +00:00
David Rose b9cb301df9 fix memory leaks 2008-10-03 19:06:52 +00:00
David Rose 7cca74a597 task.frame 2008-10-03 04:30:32 +00:00
David Rose 277753ed2b a bit friendlier 2008-10-03 03:52:00 +00:00
David Rose 76687fca8f expose task.wakeTime 2008-10-03 03:05:19 +00:00
David Rose fab502970f more threading improvements 2008-10-02 17:50:16 +00:00
David Rose 49a436f1b5 fix shutdown error some more 2008-09-29 23:55:37 +00:00
David Rose 0866bf9e51 better pstats 2008-09-29 22:20:52 +00:00
David Rose a74bf92e67 combine DS_again with DS_restart 2008-09-29 18:37:10 +00:00
David Rose c8913d4b66 use global task manager 2008-09-29 17:29:49 +00:00
David Rose 2266110083 AsyncTask::is_runnable 2008-09-29 05:59:41 +00:00
David Rose c59bfe5459 more threading issues 2008-09-28 21:32:11 +00:00
David Rose a29328046a fix some threading issues 2008-09-28 17:11:42 +00:00
David Rose 8bb89607ab DS_pickup 2008-09-27 15:56:50 +00:00
David Rose fd1218b07b task generators 2008-09-27 12:33:47 +00:00
David Rose 7e217b8bdc handle more exotic uses of taskMgr 2008-09-26 23:42:22 +00:00
David Rose 72dad6e9d5 thread_priority, frame_budget, etc. 2008-09-26 19:58:11 +00:00
David Rose 5d8cd59628 live changes to set_sort, set_priority 2008-09-26 00:21:06 +00:00
David Rose e8587e4144 pstats 2008-09-25 23:59:55 +00:00
David Rose 306873b3ac task output 2008-09-25 23:20:59 +00:00