source: git/factory/libfac/factor/interrupt.h @ 85bcd6

spielwiese
Last change on this file since 85bcd6 was 6ce030f, checked in by Oleksandr Motsak <motsak@…>, 11 years ago
removal of the $Id$ svn tag from everywhere NOTE: the git SHA1 may be used instead (only on special places) NOTE: the libraries Singular/LIB/*.lib still contain the marker due to our current use of svn
  • Property mode set to 100644
File size: 449 bytes
Line 
1///////////////////////////////////////////////////////////////////////////////
2
3#ifndef INTERRUPT_H
4#define INTERRUPT_H
5// FACTORY - Includes
6#include <factory.h>
7// Factor - Includes
8#include "tmpl_inst.h"
9
10/*BEGINPUBLIC*/
11// Set this to a nonzero value to interrupt the computation
12extern int libfac_interruptflag;
13/*ENDPUBLIC*/
14
15inline int
16interrupt_handle( )
17{
18  if ( libfac_interruptflag ){ return 1; }
19  return 0;
20}
21
22#endif /* INTERRUPT_H */
Note: See TracBrowser for help on using the repository browser.