blob: 1a16b3bd0ce9a7a10ca1cbc4a4bd95787324a0f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
using System.Collections;
using gorilla.utility;
namespace gorilla.infrastructure.threading
{
public class PerThreadScopedStorage : ScopedStorage
{
readonly ApplicationThread current_thread;
public PerThreadScopedStorage(ApplicationThread current_thread)
{
this.current_thread = current_thread;
}
public IDictionary provide_storage()
{
return current_thread.provide_slot_for<Hashtable>();
}
}
}
|