You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[reported by blelbach][Trac time Tue Aug 9 21:08:56 2011] get_self() has been one of our biggest causes of segmentation faults. A few weeks ago I modified this function to raise an assertion when called outside of a PX thread, however, this only affects debug modes (assertions are turned off for full release). This function (and possibly the underlying get_self_ptr()) should throw an exception if they are used outside of pxthreads.
The text was updated successfully, but these errors were encountered:
[comment by hkaiser][Trac time Wed Aug 10 13:30:46 2011]get_self_ptr() should not throw nor assert as its purpose is to be able to test whether the thread is executing as a px-thread. If it returns NULL it's executing outside of the HPX thread-manager, non-NULL otherwise.
[reported by blelbach] [Trac time Tue Aug 9 21:08:56 2011] get_self() has been one of our biggest causes of segmentation faults. A few weeks ago I modified this function to raise an assertion when called outside of a PX thread, however, this only affects debug modes (assertions are turned off for full release). This function (and possibly the underlying get_self_ptr()) should throw an exception if they are used outside of pxthreads.
The text was updated successfully, but these errors were encountered: