Project
People
Skill
Log In
|
Get Help
Home
My Page
Projects
Code Snippets
Project Openings
Mareframe
Summary
Activity
Forums
Tracker
Lists
Tasks
Docs
Surveys
News
SCM
Files
[mareframe] Diff of /trunk/gadget/interrupthandler.cc
[mareframe]
/
trunk
/
gadget
/
interrupthandler.cc
Repository:
Repository Listing
mareframe
Diff of /trunk/gadget/interrupthandler.cc
Parent Directory
|
Revision Log
|
Patch
revision 16, Tue Oct 13 11:29:01 2015 UTC
revision 17, Mon Nov 9 10:22:57 2015 UTC
#
Line 3
Line 3
3
#include "interrupthandler.h"
#include "interrupthandler.h"
4
#include "gadget.h"
#include "gadget.h"
5
6
extern volatile int interrupted_print;
7
volatile int* irhInterrupted;
volatile int* irhInterrupted;
8
9
void registerInterrupts(volatile int* interrupted) {
void registerInterrupts(volatile int* interrupted) {
#
Line 19
Line 20
20
21
void interruptHandler(int signal) {
void interruptHandler(int signal) {
22
*irhInterrupted = 1;
*irhInterrupted = 1;
23
interrupted_print = 1;
24
}
}
25
26
#endif
#endif
Colored Diff
Long Colored Diff
Unidiff
Context Diff
Side by Side
Legend:
Removed from v.16
changed lines
Added in v.17
root@forge.cesga.es
ViewVC Help
Powered by
ViewVC 1.0.0