Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

LocalTaskExecutorThreadPool.BlockForAvailableThreads Method

Determines the number of threads that are currently available in in the pool. Useful for determining the number of times RunInThread can be called before returning false.

[Visual Basic]
Public Overridable Sub BlockForAvailableThreads() _
    Implements IThreadPool.BlockForAvailableThreads
public virtual int BlockForAvailableThreads();

Return Value

the number of currently available threads




The implementation of this method should block until there is at least one available thread.

See Also

LocalTaskExecutorThreadPool Class | Spring.Scheduling.Quartz Namespace