commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] the great next stuff branch, dde, updated. 7cdbac372625953228a363b


From: Samuel Thibault
Subject: [SCM] the great next stuff branch, dde, updated. 7cdbac372625953228a363bd8a4a015c2b516a5b
Date: Wed, 12 Oct 2016 00:56:31 +0000 (UTC)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "the great next stuff".

The branch, dde has been updated
       via  7cdbac372625953228a363bd8a4a015c2b516a5b (commit)
      from  4b8f144e507abb5e085c5aad9ddc7c4d16f13836 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 7cdbac372625953228a363bd8a4a015c2b516a5b
Author: Samuel Thibault <address@hidden>
Date:   Wed Oct 12 02:53:49 2016 +0200

    Replace internal semaphore implementation with posix semaphores
    
    * libddekit/thread.c: Include <semaphore.h>, do not include "list.h"
    (struct _ddekit_private_data): Remove list and wakeupmsg fields.
    (struct ddekit_sem): Replace content with just one sem_t.
    (_thread_cleanup): Do not destroy wakeupmsg.msgh_remote_port.
    (_create_wakeupmsg): Remove function.
    (setup_thread): Do not initialize private_data->list, do not call
    _create_wakeupmsg.
    (_timedblock, _block, _thread_wakeup): Remove functions.
    (_sem_timedwait_internal): Reimplement function using sem_timedwait and
    sem_wait.
    (ddekit_sem_init): Reimplement function using sem_init.
    (ddekit_sem_deinit): Reimplement function using sem_destroy.
    (ddekit_sem_down_try): Reimplement function using sem_trywait.
    (ddekit_sem_up): Reimplement function using sem_post.

-----------------------------------------------------------------------

Summary of changes:
 libddekit/thread.c |  208 ++++++++--------------------------------------------
 1 file changed, 29 insertions(+), 179 deletions(-)


hooks/post-receive
-- 
the great next stuff



reply via email to

[Prev in Thread] Current Thread [Next in Thread]