OpenSDN source code
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
agent_cmn.cc
Go to the documentation of this file.
1
/*
2
* * Copyright (c) 2021 Juniper Networks, Inc. All rights reserved.
3
* */
4
#include <
base/task.h
>
5
#include <
cmn/agent.h
>
6
7
typedef
void (*
cxa_throw_type
)(
void
*,
void
*, void (*) (
void
*));
8
cxa_throw_type
AgentCxaThrow
= 0;
9
10
void
LoadAgentThrow
()
11
{
12
AgentCxaThrow
= (
cxa_throw_type
)dlsym(RTLD_NEXT,
"__cxa_throw"
);
13
}
14
15
void
__cxa_throw
(
void
*thrown_exception,
void
*pvtinfo,
void
(*dest)(
void
*))
16
{
17
18
if
(
AgentCxaThrow
== 0)
19
LoadAgentThrow
();
20
21
assert(0);
22
23
AgentCxaThrow
(thrown_exception, pvtinfo, dest);
24
while
(1);
25
}
cxa_throw_type
void(* cxa_throw_type)(void *, void *, void(*)(void *))
Definition:
agent_cmn.cc:7
AgentCxaThrow
cxa_throw_type AgentCxaThrow
Definition:
agent_cmn.cc:8
task.h
agent.h
LoadAgentThrow
void LoadAgentThrow()
Definition:
agent_cmn.cc:10
__cxa_throw
void __cxa_throw(void *thrown_exception, void *pvtinfo, void(*dest)(void *))
Definition:
agent_cmn.cc:15
contrail
controller
src
vnsw
agent
cmn
agent_cmn.cc
Generated by
1.8.5