Changes between Version 123 and Version 124 of processus_thread


Ignore:
Timestamp:
Jan 19, 2020, 11:57:08 PM (2 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • processus_thread

    v123 v124  
    6060
    6161You can find below a partial list of information stored in a thread descriptor ([https://www-soc.lip6.fr/trac/almos-mkh/browser/trunk/kernel/kern/thread.h#L134 thread_t] in ALMOS-MKH):
    62  * '''trdid''' : thread identifier
    63  * '''type''' : KERNEL / USER / IDLE / RPC
    64  * '''flags''' : bit_vector of thread attributes.
    65  * '''blocked''' : bit_vector of blocking causes.
    66  * '''process''' : pointer on the local process descriptor
    67  * '''parent''' : extended pointer on the parent thread descriptor.
    68  * '''sched''' : pointer on the scheduler in charge of this thread.
    69  * '''core''' : pointer on the owner core descriptor.
    70  * '''cpu_context''' : save the CPU registers when descheduled.
    71  * '''fpu_context''' : save the FPU registers when descheduled.
    72  * '''wait_xlist''' : member of a global list of threads waiting on the same resource.
    73  * '''wait_list''' : member of a local list of threads waiting on the same resource.
    74  * '''sched_list''' : member of the local list of threads running on the same core.
     62- '''trdid''' : thread identifier
     63- '''type''' : KERNEL / USER / IDLE / RPC
     64- '''flags''' : bit_vector of thread attributes.
     65- '''blocked''' : bit_vector of blocking causes.
     66- '''process''' : pointer on the local process descriptor
     67- '''parent''' : extended pointer on the parent thread descriptor.
     68- '''sched''' : pointer on the scheduler in charge of this thread.
     69- '''core''' : pointer on the owner core descriptor.
     70- '''cpu_context''' : save the CPU registers when descheduled.
     71- '''fpu_context''' : save the FPU registers when descheduled.
     72- '''wait_xlist''' : member of a global list of threads waiting on the same resource.
     73- '''wait_list''' : member of a local list of threads waiting on the same resource.
     74- '''sched_list''' : member of the local list of threads running on the same core.
    7575- etc.
    7676