开发者

Thread pool stack security issue

In a naive imple开发者_运维百科mentation of a thread pool, can a piece of code that is being executed read the data left by some previous code on the stack (if it was running on the same thread instance)? Also, are there any other inherent security issues connected to thread pools?


Because all of the threads are running in the same process already, even if it were possible, it's not a security issue. Security boundaries are at the process level (well, technically, it does depend on your OS, but that's how it works in all the mainstream OSes).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜