Pragma Time_Slice (GNAT Reference Manual) (original) (raw)

Next: Pragma Title, Previous: Pragma Thread_Local_Storage, Up: Implementation Defined Pragmas [Contents][Index]


2.185 Pragma Time_Slice

Syntax:

pragma Time_Slice (static_duration_EXPRESSION);

For implementations of GNAT on operating systems where it is possible to supply a time slice value, this pragma may be used for this purpose. It is ignored if it is used in a system that does not allow this control, or if it appears in other than the main program unit.