~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2010-05-18 15:49:50 UTC
  • Revision ID: brian@gaz-20100518154950-qhctxu6lvvnyxy9i
Simplify out Open_tables_state() backup/restore (no longer needed).

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
12
 
13
13
You should have received a copy of the GNU General Public License along with
14
 
this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
15
 
St, Fifth Floor, Boston, MA 02110-1301 USA
 
14
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
 
15
Place, Suite 330, Boston, MA 02111-1307 USA
16
16
 
17
17
*****************************************************************************/
18
18
 
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 */