#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
#include <stdarg.h>
#include <string.h>
#include <sys/types.h>
#include "kmp_os.h"
#include "kmp_lock.h"
#include "kmp_str.h"
#include "kmp_io.h"
#include "kmp.h"
Go to the source code of this file.
Defines | |
#define | __kmp_stderr (stderr) |
Functions | |
void | __kmp_printf (char const *format,...) |
void | __kmp_printf_no_lock (char const *format,...) |
void | __kmp_vprintf (enum kmp_io __kmp_io, char const *format, va_list ap) |
Variables | |
kmp_bootstrap_lock_t | __kmp_console_lock = KMP_BOOTSTRAP_LOCK_INITIALIZER( __kmp_console_lock ) |
kmp_bootstrap_lock_t | __kmp_stdio_lock = KMP_BOOTSTRAP_LOCK_INITIALIZER( __kmp_stdio_lock ) |
#define __kmp_stderr (stderr) |
Definition at line 174 of file kmp_io.c.
Referenced by __kmp_vprintf().
void __kmp_printf | ( | char const * | format, | |
... | ||||
) |
Definition at line 254 of file kmp_io.c.
References __kmp_acquire_bootstrap_lock(), __kmp_release_bootstrap_lock(), __kmp_vprintf(), and kmp_err.
Referenced by __kmp_acquire_drdpa_lock_timed_template(), __kmp_acquire_tas_lock_timed_template(), __kmp_acquire_ticket_lock_timed_template(), __kmp_aux_dump_task_queue_tree(), __kmp_do_serial_initialize(), __kmp_dump_task_queue(), __kmp_dump_task_queue_tree(), __kmp_dump_thunk(), __kmp_dump_thunk_stack(), __kmp_dump_TQF(), __kmp_env_print(), __kmp_i18n_dump_catalog(), __kmp_internal_join(), __kmp_msg(), __kmp_print_version_1(), __kmp_resume(), and __kmp_suspend().
void __kmp_printf_no_lock | ( | char const * | format, | |
... | ||||
) |
Definition at line 267 of file kmp_io.c.
References __kmp_vprintf(), and kmp_err.
Referenced by __kmp_dump_debug_buffer(), and __kmp_print_storage_map_gtid().
void __kmp_vprintf | ( | enum kmp_io | __kmp_io, | |
char const * | format, | |||
va_list | ap | |||
) |
Definition at line 178 of file kmp_io.c.
References __kmp_debug_buf, __kmp_debug_buf_atomic, __kmp_debug_buf_chars, __kmp_debug_buf_lines, __kmp_debug_buf_warn_chars, __kmp_debug_buffer, __kmp_debug_count, __kmp_stderr, __kmp_str_buf_clear(), __kmp_str_buf_print(), __kmp_str_buf_vprint(), kmp_err, kmp_out, KMP_TEST_THEN_INC32, kmp_str_buf::str, and kmp_str_buf::used.
Referenced by __kmp_debug_printf(), __kmp_print_storage_map_gtid(), __kmp_printf(), __kmp_printf_no_lock(), and __kmp_warn().
kmp_bootstrap_lock_t __kmp_console_lock = KMP_BOOTSTRAP_LOCK_INITIALIZER( __kmp_console_lock ) |
Definition at line 73 of file kmp_io.c.
Referenced by __kmp_atfork_child().
kmp_bootstrap_lock_t __kmp_stdio_lock = KMP_BOOTSTRAP_LOCK_INITIALIZER( __kmp_stdio_lock ) |
Definition at line 72 of file kmp_io.c.
Referenced by __kmp_atfork_child(), __kmp_dump_debug_buffer(), __kmp_print_storage_map_gtid(), and __kmp_warn().