multithread synchronization# Programming - 葵花宝典
d*u
1 楼
Microsoft onsite multithread synchronization interview question
1. Suppose we have a class:
class Foo {
Public:
A(.....); //if A is called, a new thread will be created and the
corresponding function will be executed.
B(.....); //if B is called, a new thread will be created and the
corresponding function will be executed.
C(.....); //if C is called, a new thread will be created and the
corresponding function will be executed.
......
}
Suppose we have the foll
1. Suppose we have a class:
class Foo {
Public:
A(.....); //if A is called, a new thread will be created and the
corresponding function will be executed.
B(.....); //if B is called, a new thread will be created and the
corresponding function will be executed.
C(.....); //if C is called, a new thread will be created and the
corresponding function will be executed.
......
}
Suppose we have the foll