ModelChecker::~ModelChecker()
{
- std::map<int, class Thread *, std::less< int >, MyAlloc< std::pair< int, class Thread * > > >::iterator it;
+ std::map<int, class Thread *>::iterator it;
for (it = thread_map.begin(); it != thread_map.end(); it++)
delete (*it).second;
thread_map.clear();
static void * stack_allocate(size_t size)
{
- return userMalloc(size);
+ return MYMALLOC(size);
}
static void stack_free(void *stack)
{
- userFree(stack);
+ MYFREE(stack);
}
Thread * thread_current(void)