Re: LEON2 and C++ exception handling

2017-08-13 Thread Mike Looijmans
On 12-08-17 03:29, Chris Johns wrote: On 11/8/17 10:14 pm, Mike Looijmans wrote: Is there maybe some other entry/register/variable that my boot code needs to pass to RTEMS? Exceptions need valid tables registered with the unwinder to work or you end up in the terminate call. The SPARC archit

pthread_cond_timedwait() : time internal resolution issue.

2017-08-13 Thread Thomas Kim
Dear Sir, I am testing pthread_cond_timedwait() on realview-pbx-a9 using QEMU. My testing code is below; #include #include static void thread_sleep(struct timespec *ti) { pthread_mutex_t mtx; pthread_cond_t cnd; pthread_mutex_init(&mtx, 0); pthread_cond_init(&cnd, 0); pthre