You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.4 KiB

  1. /*****************************************************************************
  2. Copyright (c) 1996, 2009, Innobase Oy. All Rights Reserved.
  3. This program is free software; you can redistribute it and/or modify it under
  4. the terms of the GNU General Public License as published by the Free Software
  5. Foundation; version 2 of the License.
  6. This program is distributed in the hope that it will be useful, but WITHOUT
  7. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  8. FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  9. You should have received a copy of the GNU General Public License along with
  10. this program; if not, write to the Free Software Foundation, Inc., 59 Temple
  11. Place, Suite 330, Boston, MA 02111-1307 USA
  12. *****************************************************************************/
  13. /**************************************************//**
  14. @file include/srv0que.h
  15. Server query execution
  16. Created 6/5/1996 Heikki Tuuri
  17. *******************************************************/
  18. #ifndef srv0que_h
  19. #define srv0que_h
  20. #include "univ.i"
  21. #include "que0types.h"
  22. /**********************************************************************//**
  23. Enqueues a task to server task queue and releases a worker thread, if there
  24. is a suspended one. */
  25. UNIV_INTERN
  26. void
  27. srv_que_task_enqueue_low(
  28. /*=====================*/
  29. que_thr_t* thr); /*!< in: query thread */
  30. #endif