LCOV - code coverage report
Current view: directory - src/shared/platform/posix - nacl_thread_id.c (source / functions) Found Hit Coverage
Test: coverage.lcov Lines: 1 1 100.0 %
Date: 2014-06-18 Functions: 0 0 -

       1                 : /*
       2                 :  * Copyright (c) 2011 The Native Client Authors. All rights reserved.
       3                 :  * Use of this source code is governed by a BSD-style license that can be
       4                 :  * found in the LICENSE file.
       5                 :  */
       6                 : 
       7                 : #include <pthread.h>
       8                 : 
       9                 : #include "native_client/src/shared/platform/nacl_threads.h"
      10                 : 
      11                 : /*
      12                 :  * This file is separate from nacl_threads.c mostly for the benefit
      13                 :  * of the untrusted build, so we didn't bother separating it out in
      14                 :  * the Windows implementation.  There NaClThreadId is in nacl_threads.c.
      15                 :  */
      16                 : 
      17                 : uint32_t NaClThreadId(void) {
      18           11946 :   return (uintptr_t) pthread_self();
      19                 : }

Generated by: LCOV version 1.7