source: git/libfac/factor/interrupt.h @ d9edaf

spielwiese
Last change on this file since d9edaf was 7fa52c2, checked in by Hans Schönemann <hannes@…>, 17 years ago
*hannes: removed diophant_error, format git-svn-id: file:///usr/local/Singular/svn/trunk@10099 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 626 bytes
Line 
1/* Copyright 1997 Michael Messollen. All rights reserved. */
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 */
23
24/*
25$Log: not supported by cvs2svn $
26Revision 1.2  1997/09/12 07:19:58  Singular
27* hannes/michael: libfac-0.3.0
28
29
30*/
Note: See TracBrowser for help on using the repository browser.