And now you may realize what a great idea adding that unique thread id was.
现在您可能认识到添加唯一的线程ID是一个多好的主意。
This does not require any changes to the application code and provides timestamp, thread id, and parameter information.
这不需要对应用程序代码做任何修改,它会提供时间戳、线程ID和参数信息。
The mysql_thread_id function returns the current thread id.
函数的作用是:返回当前线程的ID。
Note that it already includes a thread ID.
注意它已经包括了一个线程ID。
In this example, the thread ID is 0000015d.
在此示例中,线程ID为0000015d。
With thread ID information, you can distinguish one request from another.
使用线程ID信息,您就可以将多个请求区分开来。
The caller can use this thread ID to perform various operations on the thread.
调用者可以使用这个线程ID,以便对该线程执行各种操作。
The pthread_create() subroutine returns the new thread ID using a thread argument.
pthread_create()子程序使用线程参数返回新的线程ID。
Gets the operating system (OS) thread ID of the debugger's internal helper thread.
获取调试器内部帮助器线程的操作系统(OS)线程ID。
Thread ID: Enterprise applications are often executed in a multithreaded environment.
线程ID:企业级的应用程序通常都是在多线程的环境中运行的。
If you don't want to pass in a parameter, you could add a method with which the client can query the thread ID of the called program.
如果不希望传入一个参数,您可以添加一个方法,客户机可以使用该方法来查询被调用程序的线程ID。
The best practice in reading a WebSphere Application Server trace is to follow the thread ID in question to understand the flow of events.
阅读WebSphereApplicationServer跟踪文件时的最佳实践是,跟踪所涉及的线程ID,以了解事件流。
In such cases, you might need an additional program to sort the log information either on thread ID or timestamp in chronological order to analyze it.
在这样的情况下,您可能需要一个附加的程序对日志信息进行排序(按照线程ID或者时间戳的顺序),以便对其进行分析。
This (I hope) will be unique within the scope of the trace, and the combination of thread ID and random number should afford you uniqueness across multiple JVMs.
它(我希望如此)在跟踪的范围内将是唯一的,而线程ID和随机数的组合应该能够满足跨越多个JVM的唯一性。
This (I hope) will be unique within the scope of the trace, and the combination of thread ID and random number should afford you uniqueness across multiple JVMs.
它(我希望如此)在跟踪的范围内将是唯一的,而线程ID和随机数的组合应该能够满足跨越多个JVM的唯一性。
应用推荐