Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

LocalTaskExecutorThreadPool.RunInThread Method

Execute the given IThreadRunnable in the next available Thread.

[Visual Basic]
Public Overridable Sub RunInThread( _
   ByVal runnable As IThreadRunnable _
) _
    Implements IThreadPool.RunInThread
[C#]
public virtual bool RunInThread(
   IThreadRunnable runnable
);

Parameters

runnable

Return Value

Implements

IThreadPool.RunInThread

Remarks

The implementation of this interface should not throw exceptions unless there is a serious problem (i.e. a serious misconfiguration). If there are no available threads, rather it should either queue the Runnable, or block until a thread is available, depending on the desired strategy.

See Also

LocalTaskExecutorThreadPool Class | Spring.Scheduling.Quartz Namespace