教学用示例代码

This commit is contained in:
jackfiled 2022-05-27 05:48:19 +00:00
parent 2c1ee94af7
commit 63ca470147

View File

@ -8,10 +8,14 @@ int chosen_strategy = -1;
int FCFSDirection() int FCFSDirection()
{ {
int rabbish;
int a;
int b = a + a;
// 这是用来产生冲突的代码
return BUS_STOP; return BUS_STOP;
} }
bus_query_t *FCFSQuery() bus_query_t *FCFSQuery()
{ {
return NULL; return NULL;
} }