Hello.
I had next example C code
#include <thread_definitions.h>
struct PROCESS_DATA {
.... //thread attributes
};
struct PROCESS_ENTRY{
PROCESS_ENTRY* next; //must be betree entry
PROCESS_ENTRY* preview;
struct PROCESS_DATA process_store;
};
PROCESS_ENTRY* current_process = kalloc(sizeof(PROCESS_DATA));
bool create_thread_data(){
....
current_process->next = kalloc(sizeof(PROCESS_DATA)); //how to implement that stuff
....
}
can you say, how to rewrite them in d?