~ubuntu-branches/debian/squeeze/mysql-5.1/squeeze

« back to all changes in this revision

Viewing changes to storage/innobase/include/sync0rw.h

  • Committer: Package Import Robot
  • Author(s): Moritz Muehlenhoff
  • Date: 2014-01-14 10:40:30 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20140114104030-44alii0hx3x3g41y
Tags: 5.1.73-1
* New upstream release
  http://dev.mysql.com/doc/relnotes/mysql/5.1/en/news-5-1-73.html
* Update patches
* Disable flaky test rpl.rpl_innodb_bug28430 breaking the build. It's  marked
  as experimental by upstream and the internet is full of reports about it's
  unrelialibity

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/******************************************************
2
2
The read-write lock (for threads, not for database transactions)
3
3
 
4
 
(c) 1995 Innobase Oy
 
4
Copyright (c) 1995, 2011, Oracle and/or its affiliates. All Rights Reserved.
5
5
 
6
6
Created 9/11/1995 Heikki Tuuri
7
7
*******************************************************/
409
409
void
410
410
rw_lock_debug_print(
411
411
/*================*/
 
412
        FILE*                   f,      /* in: output stream */
412
413
        rw_lock_debug_t*        info);  /* in: debug struct */
413
414
#endif /* UNIV_SYNC_DEBUG */
414
415
 
483
484
#define RW_LOCK_MAGIC_N 22643
484
485
 
485
486
#ifdef UNIV_SYNC_DEBUG
486
 
/* The structure for storing debug info of an rw-lock */
 
487
/** The structure for storing debug info of an rw-lock.  All access to this
 
488
structure must be protected by rw_lock_debug_mutex_enter(). */
487
489
struct  rw_lock_debug_struct {
488
490
 
489
491
        os_thread_id_t thread_id;  /* The thread id of the thread which