Nightly update (ISO SHA-1 8444f23)
This commit is contained in:
1 parent
aa53888517
commit
7980ccfc60
23 files changed
+1871
-1768
No files matched your search
+1662
-1657
File diff suppressed because it is too large.
Load diff
@@ -241,6 +241,12 @@ public class CSpring
|
||||
#define ODEF_HAS_MASSES 1
|
||||
#define ODEF_PAUSED 2
|
||||
#define ODEF_STARTED 4
|
||||
#define ODEF_BUSY 8
|
||||
|
||||
#define ODEf_HAS_MASSES 0
|
||||
#define ODEf_PAUSED 1
|
||||
#define ODEf_STARTED 2
|
||||
#define ODEf_BUSY 3
|
||||
|
||||
public class CMathODE
|
||||
{
|
||||
@@ -272,7 +278,13 @@ public class CMathODE
|
||||
*tmp0,*tmp1,*tmp2,*tmp3,
|
||||
*tmp4,*tmp5,*tmp6,*tmp7;
|
||||
CTask *mem_task,*win_task;
|
||||
U0 (*derivative)(CMathODE *o,F64 t,F64 *state,F64 *DstateDt);
|
||||
U0 (*derive)(CMathODE *o,F64 t,F64 *state,F64 *DstateDt);
|
||||
U0 (*mp_derive)(CMathODE *o,F64 t, //If break into parallel pieces.
|
||||
I64 cpu_num,F64 *state,F64 *DstateDt);
|
||||
CTask **slave_tasks;
|
||||
I64 mp_not_done_flags;
|
||||
F64 mp_t,*mp_state,*mp_DstateDt;
|
||||
|
||||
I64 user_data;
|
||||
};
|
||||
|
||||
|
||||
@@ -722,6 +722,7 @@ public extern CTask *Spawn(U0 (*fp_addr)(U8 *data),U8 *data=NULL,
|
||||
U8 *task_name=NULL,I64 target_cpu=-1, //-1 means current CPU
|
||||
CTask *parent=NULL, //NULL means adam
|
||||
I64 stk_size=0,I64 flags=1<<JOBf_ADD_TO_QUE);
|
||||
|
||||
#help_index "Time/CPU Cycles;Time/HPET;Time/Jiffies"
|
||||
public extern CCntsGlbls cnts;
|
||||
|
||||
|
||||
Reference in new issue
Block a user