~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/include/os0thread.h

  • Committer: Monty Taylor
  • Date: 2011-02-13 17:26:39 UTC
  • mfrom: (2157.2.2 give-in-to-pkg-config)
  • mto: This revision was merged to the branch mainline in revision 2166.
  • Revision ID: mordred@inaugust.com-20110213172639-nhy7i72sfhoq13ms
Merged in pkg-config fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*****************************************************************************
2
2
 
3
 
Copyright (c) 1995, 2009, Innobase Oy. All Rights Reserved.
 
3
Copyright (C) 1995, 2009, Innobase Oy. All Rights Reserved.
4
4
 
5
5
This program is free software; you can redistribute it and/or modify it under
6
6
the terms of the GNU General Public License as published by the Free Software
57
57
/* Define a function pointer type to use in a typecast */
58
58
typedef void* (*os_posix_f_t) (void*);
59
59
 
 
60
#ifdef HAVE_PSI_INTERFACE
 
61
/* Define for performance schema registration key */
 
62
typedef unsigned int    mysql_pfs_key_t;
 
63
#endif
 
64
 
60
65
/***************************************************************//**
61
66
Compares two thread ids for equality.
62
67
@return TRUE if equal */
87
92
os_thread_create(
88
93
/*=============*/
89
94
#ifndef __WIN__
90
 
                 os_posix_f_t            start_f,
 
95
        os_posix_f_t            start_f,
91
96
#else
92
97
        ulint (*start_f)(void*),                /*!< in: pointer to function
93
98
                                                from which to start */
96
101
                                                function */
97
102
        os_thread_id_t*         thread_id);     /*!< out: id of the created
98
103
                                                thread, or NULL */
99
 
 
100
104
/*****************************************************************//**
101
105
Exits the current thread. */
102
106
UNIV_INTERN