There is no main thread in RTEMS

The resolv module has a questionable fall back strategy on error.
This commit is contained in:
Sebastian Huber
2013-09-20 16:08:34 +02:00
parent 937461c950
commit 83cb10f952
6 changed files with 2 additions and 32 deletions

View File

@@ -56,14 +56,11 @@ int hz;
int tick;
int maxusers; /* base tunable */
rtems_id rtems_init_task_id;
rtems_status_code
rtems_bsd_initialize(void)
{
rtems_status_code sc = RTEMS_SUCCESSFUL;
rtems_init_task_id = rtems_task_self();
hz = (int) rtems_clock_get_ticks_per_second();
tick = 1000000 / hz;
maxusers = 1;