all: use tracy for tracing
This commit is contained in:
parent
50186e764e
commit
ccad3cf0fb
56 changed files with 647 additions and 171 deletions
|
|
@ -347,8 +347,12 @@ impl PwConHolder {
|
|||
data.send_hello();
|
||||
data.send_properties();
|
||||
let con = Rc::new(PwConHolder {
|
||||
outgoing: Cell::new(Some(eng.spawn(data.clone().handle_outgoing()))),
|
||||
incoming: Cell::new(Some(eng.spawn(data.clone().handle_incoming()))),
|
||||
outgoing: Cell::new(Some(
|
||||
eng.spawn("pw outgoing", data.clone().handle_outgoing()),
|
||||
)),
|
||||
incoming: Cell::new(Some(
|
||||
eng.spawn("pw incoming", data.clone().handle_incoming()),
|
||||
)),
|
||||
con: data,
|
||||
});
|
||||
con.con.holder.set(Rc::downgrade(&con));
|
||||
|
|
|
|||
|
|
@ -745,7 +745,9 @@ impl PwClientNode {
|
|||
let typed = map.typed::<pw_node_activation>();
|
||||
self.activation.set(Some(typed.clone()));
|
||||
self.transport_in.set(Some(
|
||||
self.con.eng.spawn(self.clone().transport_in(typed, readfd)),
|
||||
self.con
|
||||
.eng
|
||||
.spawn("pw transport in", self.clone().transport_in(typed, readfd)),
|
||||
));
|
||||
self.transport_out.set(Some(writefd));
|
||||
Ok(())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue