~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Lee Bieber
  • Date: 2010-11-14 23:15:42 UTC
  • mfrom: (1929.1.42 warning-stack-frame)
  • Revision ID: kalebral@gmail.com-20101114231542-fnnu6ydd2p17n582
Merge Monty - fix bug 672372: some functions use > 32k stack

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
 
 
65
60
/***************************************************************//**
66
61
Compares two thread ids for equality.
67
62
@return TRUE if equal */
92
87
os_thread_create(
93
88
/*=============*/
94
89
#ifndef __WIN__
95
 
        os_posix_f_t            start_f,
 
90
                 os_posix_f_t            start_f,
96
91
#else
97
92
        ulint (*start_f)(void*),                /*!< in: pointer to function
98
93
                                                from which to start */
101
96
                                                function */
102
97
        os_thread_id_t*         thread_id);     /*!< out: id of the created
103
98
                                                thread, or NULL */
 
99
 
104
100
/*****************************************************************//**
105
101
Exits the current thread. */
106
102
UNIV_INTERN