Community
cancel
Showing results for 
Search instead for 
Did you mean: 
irisshinra308
Beginner
55 Views

Adding new fields into class task_prefix

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

0 Kudos
0 Replies
Reply