[m-rev.] diff: Fix semaphore typo
Julien Fischer
jfischer at opturion.com
Tue Sep 22 13:06:03 AEST 2015
On Tue, 22 Sep 2015, Paul Bone wrote:
> Branches: master
>
> Fix semaphore typo
>
> runtime/mercury_context.c:
> As above.
> ---
> runtime/mercury_context.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/runtime/mercury_context.c b/runtime/mercury_context.c
> index 63379f0..592de9c 100644
> --- a/runtime/mercury_context.c
> +++ b/runtime/mercury_context.c
> @@ -398,7 +398,7 @@ MR_init_context_stuff(void)
> MR_max_engines, MR_ALLOC_SITE_RUNTIME);
> for (i = 0; i < MR_max_engines; i++) {
> engine_sleep_sync *esync = get_engine_sleep_sync(i);
> - MR_sem_init(&esync->d.es_sleep_sempahore, 0);
> + MR_sem_init(&esync->d.es_sleep_semaphore, 0);
> pthread_mutex_init(&esync->d.es_wake_lock, MR_MUTEX_ATTR);
> /*
> ** All engines are initially working (because telling them to wake up
Oops! Thanks for catching that.
Julien.
More information about the reviews
mailing list