#define MAX_THREADS ( 17 )
struct thread_info
{
unsigned int * thread_sp; /* Storage space for thread stack-pointer. */
int thread_id; /* Storage space for a thread ID. */
};
struct thread_info thread_info_array[ MAX_THREADS ];
2番目の構造体がわかりません。それが何をするのか説明していただけますか?定数を変更した場合、定数は構造体をどのように変更しますか?
アップデート
私はそれが同じだと思います:
struct thread_info { unsigned int *thread_sp; int thread_id; } thread_info_array[MAX_THREADS];