/* threadst.c (emx+gcc) -- Copyright (c) 1993 by Eberhard Mattes */

#if defined (__MT__)

#include <sys/emx.h>
#include <stdlib.h>

void **_threadstore (void)
{
  return (&_thread()->_th_store);
}

#endif
