Thread id is None on OSX #20

kyledj opened this Issue Mar 12, 2012 · 2 comments


None yet

2 participants

kyledj commented Mar 12, 2012

mmstats.libgettid.gettid returns None of OSX, which causes the default mmstats.MmStats to fail

kyledj commented Mar 12, 2012

File "/Users/kyle/projects/flask_mmstats/mmstats/mmstats/", line 51, in init
File "/Users/kyle/projects/flask_mmstats/mmstats/mmstats/", line 66, in _init_fields
self._offset = state.field._init(state, self._mm_ptr, self._offset)
File "/Users/kyle/projects/flask_mmstats/mmstats/mmstats/", line 137, in _init
state._struct.value = self.value
TypeError: an integer is required


This should have been fixed in 7232353

Mind pulling master and testing on OSX? If it works I'd like to cut a 0.7 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment