eventq.hh (11168:f98eb2da15a4) eventq.hh (11320:42ecb523c64a)
1/*
2 * Copyright (c) 2000-2005 The Regents of The University of Michigan
3 * Copyright (c) 2013 Advanced Micro Devices, Inc.
4 * Copyright (c) 2013 Mark D. Hill and David A. Wood
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions are

--- 81 unchanged lines hidden (view full) ---

90
91/**
92 * Common base class for Event and GlobalEvent, so they can share flag
93 * and priority definitions and accessor functions. This class should
94 * not be used directly.
95 */
96class EventBase
97{
1/*
2 * Copyright (c) 2000-2005 The Regents of The University of Michigan
3 * Copyright (c) 2013 Advanced Micro Devices, Inc.
4 * Copyright (c) 2013 Mark D. Hill and David A. Wood
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions are

--- 81 unchanged lines hidden (view full) ---

90
91/**
92 * Common base class for Event and GlobalEvent, so they can share flag
93 * and priority definitions and accessor functions. This class should
94 * not be used directly.
95 */
96class EventBase
97{
98 protected:
98 protected:
99 typedef unsigned short FlagsType;
100 typedef ::Flags<FlagsType> Flags;
101
102 static const FlagsType PublicRead = 0x003f; // public readable flags
103 static const FlagsType PublicWrite = 0x001d; // public writable flags
104 static const FlagsType Squashed = 0x0001; // has been squashed
105 static const FlagsType Scheduled = 0x0002; // has been scheduled
106 static const FlagsType AutoDelete = 0x0004; // delete after dispatch

--- 678 unchanged lines hidden ---
99 typedef unsigned short FlagsType;
100 typedef ::Flags<FlagsType> Flags;
101
102 static const FlagsType PublicRead = 0x003f; // public readable flags
103 static const FlagsType PublicWrite = 0x001d; // public writable flags
104 static const FlagsType Squashed = 0x0001; // has been squashed
105 static const FlagsType Scheduled = 0x0002; // has been scheduled
106 static const FlagsType AutoDelete = 0x0004; // delete after dispatch

--- 678 unchanged lines hidden ---