- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello~
I am trying to add some variables into the task_prefix class.
According to the comment in the task.h, fields are ordered in way that preserves backwards compatibility and yields good packing on typical 32-bit and 64-bit platforms.
I have already added one integer variable and found nothing wrong.
However, after adding another boolean variable, the small program I write crashes due to the segmentation fault.
Could anyone tell me how to add variable into task_prefix class safely?
Dennis
Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page