This website requires JavaScript.
Explore
Help
Register
Sign In
ShuriZma
/
BizHawk
mirror of
https://github.com/TASEmulators/BizHawk.git
Watch
1
Star
0
Fork
You've already forked BizHawk
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
9e4462008c
BizHawk
/
BizHawk.Common
/
IMonitor.cs
9 lines
96 B
C#
Raw
Normal View
History
Unescape
Escape
Misc code cleanups in BizHawk.Common
2017-04-13 18:57:58 +00:00
namespace
BizHawk.Common
Add Monitor support to BizInvoker. Monitors are called right before (Enter) and right after (Exit) each interop method call. Possible applications include AWE mutex+mapping, and cothread no-GC regions. If you ask for an invoker without monitor, this commit adds no overhead because the code isn't generated.
2016-03-23 00:17:28 +00:00
{
public
interface
IMonitor
{
void
Enter
(
)
;
void
Exit
(
)
;
}
}