blob: 6d6c1202844f9e4cd85f703e716ae8e10f7fb3eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2009, 2015 Oracle and/or its affiliates. All rights reserved.
*
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace BerkeleyDB {
/// <summary>
/// A class representing a unique identifier for a thread of control in a
/// Berkeley DB application.
/// </summary>
public class DbThreadID {
/// <summary>
/// The Process ID of the thread of control
/// </summary>
public int processID;
/// <summary>
/// The Thread ID of the thread of control
/// </summary>
public uint threadID;
/// <summary>
/// Instantiate a new DbThreadID object
/// </summary>
/// <param name="pid">The Process ID of the thread of control</param>
/// <param name="tid">The Thread ID of the thread of control</param>
public DbThreadID(int pid, uint tid) {
processID = pid;
threadID = tid;
}
}
}
|