What are fiber cookies?

I was looking at the .NET Marshall class when I noticed the GetThreadFromFiberCookie method. I tried to find this term, but found links to Fibers in the context of streaming processing on Windows. So what are fiber cookies?

+5
source share
1 answer

According to: http://msdn.microsoft.com/en-us/library/system.runtime.interopservices.marshal.getthreadfromfibercookie%28v=vs.100%29.aspx

β€œFiles with file files are opaque markers that are used by the host when warning about the general launch of the language to its fiber planning decisions. They consist of a stack context and registration.

"Fiber is an especially easy thread of execution ... They use collaborative multitasking" - http://en.wikipedia.org/wiki/Fiber_%28computer_science%29

+1
source

Source: https://habr.com/ru/post/1203304/


All Articles