JCL Help:TJclCriticalSectionEx.SetSpinTimeOut

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Sets the system's critical section timeout value.


Pascal

 public class procedure SetSpinTimeOut(const Value: Cardinal);


Parameters

Parameters Description
const Value: Cardinal The new critical section timeout interval in seconds.


Description

SetSpinTimeOut sets the system's global critical section timeout value. This value determines after which interval an attempt to enter a critical section times out. The default setting is about 30 days. Note that this value affects all threads on the entire system. Do not set this value too low since it might negatively affect threads that normally wait longer than the timeout interval and do not expect to timeout.


See Also

GetSpinTimeOut


About

Donator

Marcel van Brakel


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page