⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 spinlockinfo.hh

📁 Click is a modular router toolkit. To use it you ll need to know how to compile and install the sof
💻 HH
字号:
#ifndef CLICK_SPINLOCKINFO_HH#define CLICK_SPINLOCKINFO_HH#include <click/element.hh>#include <click/vector.hh>#include <click/hashtable.hh>#include <click/sync.hh>CLICK_DECLS/* * =c * SpinlockInfo(NAME, ...) * =s threads * specifies names of spinlocks * =d * * Lets you use mnemonic names for spinlocks. Each name names a spinlock that * the SpinlockAcquire and SpinlockRelease elements can use to reference a * spinlock. * =a SpinlockAcquire, SpinlockRelease */class SpinlockInfo : public Element { public:    SpinlockInfo();    ~SpinlockInfo();    const char *class_name() const	{ return "SpinlockInfo"; }    int configure_phase() const		{ return CONFIGURE_PHASE_INFO; }    int configure(Vector<String> &, ErrorHandler *);  private:    Vector<Spinlock> _spinlocks;};CLICK_ENDDECLS#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -