Exemplo n.º 1
0
static int
cork_error_thread__run(void *vself)
{
    /* The particular error doesn't matter; just want to make sure it gets
     * propagated from the cork_thread_join call. */
    cork_system_error_set_explicit(ENOMEM);
    return -1;
}
Exemplo n.º 2
0
void
cork_system_error_set(void)
{
    cork_system_error_set_explicit(errno);
}