Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Put the main thread handle in the thread context #51

Merged
merged 3 commits into from
Dec 12, 2017

Conversation

roblabla
Copy link
Member

@roblabla roblabla commented Dec 8, 2017

This is a scaled back version of #45 that simply adds the thread handle in the libtransistor context. Should be compatible with existing binaries.

@misson20000
Copy link
Member

Why is it in all caps?

@roblabla
Copy link
Member Author

roblabla commented Dec 8, 2017

Aren't globals supposed to be in all-caps ?

@misson20000
Copy link
Member

Personally would rather reserve all caps for macros and enums and such.

@roblabla
Copy link
Member Author

roblabla commented Dec 8, 2017

Also should I bump the libtransistor context version ? The change itself is backward compatible (old libtransistor binaries can use new context), but not forward compatible (new libtransistor binaires can't use old context). Meeh.

@misson20000
Copy link
Member

Yes, the version should be incremented so the existence of the thread id field can be tested

@misson20000 misson20000 merged commit 32d4778 into reswitched:master Dec 12, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants