Files
boc/aamos-ledger-rust/target/release/deps/libparking-c693e4e2e797bc4a.rlib
T

136 lines
80 KiB
Plaintext
Raw Normal View History

!<arch>
/ 0 0 0 0 4650 `
:dö_ZN3std4sync6poison10map_result17h14b9aec615f73845E_ZN3std4sync6poison5mutex19MutexGuard$LT$T$GT$3new28_$u7b$$u7b$closure$u7d$$u7d$17h7559fd6843177aa3E_ZN4core4sync6atomic11atomic_load17hddef6b45c36990fbE_ZN4core4sync6atomic12atomic_store17hb7e01ba47cde1b21E_ZN4core4sync6atomic11atomic_load17hee7f4db50e3c7933E_ZN3std4sync6poison5mutex14Mutex$LT$T$GT$3new17hab36dfb7a8a3b317E_ZN3std4sync6poison5mutex14Mutex$LT$T$GT$4lock17hf83f0af7a877ff8bE_ZN4core4sync6atomic23atomic_compare_exchange17h7a86702b23713526E_ZN3std4sync6poison7condvar7Condvar12wait_timeout17h07fb37da21aa9207E_ZN4core3ptr73drop_in_place$LT$std..sync..poison..mutex..MutexGuard$LT$$LP$$RP$$GT$$GT$17h362f11da1b7117f2E_ZN3std4sync6poison7condvar7Condvar4wait17h7b97880c4095022aE_ZN48_$LT$$RF$A$u20$as$u20$core..alloc..Allocator$GT$10deallocate17h227862ae37eba134E_ZN4core3fmt2rt8Argument11new_display17h6c2868e58e0ba969E_ZN4core3fmt9Arguments3new17h104f73dc14074b35E_ZN4core3mem4drop17h8b13fc8d339b57dbE_ZN4core3ptr111drop_in_place$LT$std..sync..poison..PoisonError$LT$std..sync..poison..mutex..MutexGuard$LT$$LP$$RP$$GT$$GT$$GT$17hd12233d5d30139c4E_ZN4core3ptr112drop_in_place$LT$$LP$std..sync..poison..mutex..MutexGuard$LT$$LP$$RP$$GT$$C$std..sync..WaitTimeoutResult$RP$$GT$17h90412b379eb06996E_ZN4core3ptr150drop_in_place$LT$std..sync..poison..PoisonError$LT$$LP$std..sync..poison..mutex..MutexGuard$LT$$LP$$RP$$GT$$C$std..sync..WaitTimeoutResult$RP$$GT$$GT$17h05d49dda454728afE_ZN4core3ptr36drop_in_place$LT$parking..Parker$GT$17he796102a7916f136E_ZN4core3ptr38drop_in_place$LT$parking..Unparker$GT$17h8adc0d11fa0000ebE_ZN4core3ptr59drop_in_place$LT$alloc..sync..Arc$LT$parking..Inner$GT$$GT$17h0fdf127b6e5aabf3E_ZN71_$LT$alloc..sync..Arc$LT$T$C$A$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17h31af5798b8175ca8E_ZN87_$LT$std..sync..poison..mutex..MutexGuard$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17h3ce77f3b6cc059eeE_ZN4core3ptr87drop_in_place$LT$alloc..sync..Weak$LT$parking..Inner$C$$RF$alloc..alloc..Global$GT$$GT$17h91b287efc4afd708E_ZN72_$LT$alloc..sync..Weak$LT$T$C$A$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17h5136bb5f39643410E_ZN4core4sync6atomic23atomic_compare_exchange17hfcd144efb01bd4beE_ZN4core6result19Result$LT$T$C$E$GT$5is_ok17hddffd4b6514030c1E_ZN73_$LT$alloc..sync..Arc$LT$T$C$A$GT$$u20$as$u20$core..ops..deref..Deref$GT$5deref17h24348035db157d69E_ZN7parking5Inner6unpark17hd7f02889673c74dbE_ZN52_$LT$parking..Parker$u20$as$u20$core..fmt..Debug$GT$3fmt17hf70c573c7842ede6E_ZN54_$LT$parking..Unparker$u20$as$u20$core..fmt..Debug$GT$3fmt17h584fc29be0788098E_ZN56_$LT$parking..Unparker$u20$as$u20$core..clone..Clone$GT$5clone17hb2de6af26b6ef399E_ZN68_$LT$alloc..sync..Arc$LT$T$C$A$GT$$u20$as$u20$core..clone..Clone$GT$5clone17hc3224e8f4d77b0c6E_ZN58_$LT$parking..Parker$u20$as$u20$core..default..Default$GT$7default17hf798b981d989b756E_ZN7parking6Parker3new17hafb062a0ad947fd2E_ZN5alloc4sync11data_offset17h169593d601822236E_ZN5alloc4sync12Arc$LT$T$GT$3new17h483c36392175788dE_ZN5alloc4sync16Arc$LT$T$C$A$GT$11from_raw_in17hf10c32f9eacd09baE_ZN5alloc4sync16Arc$LT$T$C$A$GT$25increment_strong_count_in17h856b4bd8593f6ef4E_ZN5alloc4sync16Arc$LT$T$C$A$GT$6ptr_eq17h557737cd3b9bf5a9E_ZN5alloc4sync16Arc$LT$T$C$A$GT$9drop_slow17hcbad6890b6472090E_ZN5alloc4task106_$LT$impl$u20$core..convert..From$LT$alloc..sync..Arc$LT$W$GT$$GT$$u20$for$u20$core..task..wake..Waker$GT$4from17h9ca0c4cdc9837c86E_ZN5alloc4task9raw_waker10drop_waker17h29cb86b42df4aedfE_ZN5alloc4task9raw_waker11wake_by_ref17hed7c6b53d06ef493E_ZN5alloc4task9raw_waker4wake17h5114b6f96253d66fE_ZN76_$LT$std..sync..poison..PoisonError$LT$T$GT$$u20$as$u20$core..fmt..Debug$GT$3fmt17ha5e3a6c2b43568a5E_ZN76_$LT$std..sync..poison..PoisonError$LT$T$GT$$u20$as$u20$core..fmt..Debug$GT$3fmt17he0cd1db960108e5fE_ZN7parking4pair17h55327c7a4966037eE_ZN7parking
parking-c693e4e2e797bc4a.parking.c36e0495c5fd566-cgu.0.rcgu.o/
lib.rmeta/ 0 0 0 644 20944 `
ELF·PP@@GNUÀrust
N#rustc 1.96.0 (ac68faa20 2026-05-25)ÁÀ뉊]!ÜÛê(¹Þ—šên-5be7b69c3ff7b5b8ÁíàÄTËŸ ÜJîÄ)'ß\¥!-3d1337db07d0b3aeÁ¤²XctÔ'ÐÓ©z¨ɽÓ-a4945860e1c53b00Á¤°ð ¾ä-±($²ï=©Ã-7e98a21bfd32b0edÁòÖÀH•‘PIÓHã#£-055f30b747f859b6Árustc_std_workspace_coreÁ­Cçß^ò½èÝ$­Çÿ+Cé-c4878ee60b2242c9ÁŸÃï+Ñ]ŠqB<ÏïW#-8dd1dd90e70d0b6aÁ miniz_oxideÁ€š»J(P>àö÷g\K-1eb618da2918ab7fÁadler2ÁÆ;+Þ®5¥Ìýݰ¦ÛLˆ-f7919172d268e069Á hashbrownÁPäV9ÒÆèÜ"ÊÖVŽ\-0fc2184a5da6723aÁrustc_std_workspace_allocÁs&ØòØy¯s•bæ!‰ýŠ-97e4bf30be240674Á
std_detectÁhŠBîÙºÌI®ËÅš-9dbbf8346ba7ac8bÁrustc_demangleÁûë9´Ç×@Œ’ùXFº-f33013f239bf9f14Ácfg_ifÁÜLhž§Œaã¯>­-0a71c8f33a838301Á addr2lineÁ׎Þ!]8V$É@@-e618e6be60e87ba2ÁgimliÁ¸
°µ~Î1‹Ñt ðÁ€w-1f7768a68858f670ÁobjectÁ
áPÃ?­À¶¼QHJ¥-914cd6a4dbe590d1ÁmemchrÁ›º«8Ór­2Ù $¨ûib-cf21ca6f2bb15dcdÁë
‹ás«LÖ€îâƒ×ɯŒ-ee6f3747e38367f0ÁçloomÁÀ 
  
pairÁParkerÁunparkerÁ_markerÁæ parkÁ park_timeoutÁ
park_deadlineÁunparkÁÀ>×UnparkerÁ!innerÁ#š # will_unparkÁ# same_parkerÁ'×)ƒ+÷EMPTYÁPARKEDÁNOTIFIEDÁInnerÁ0º0lockÁ0cvarÁ4è4š 7wakeÁ7 wake_by_refÁ







$
%
%
&
&
(
(
(
*
5
6
9
³³ÀÏF¤Û¿cƒ
¿c!!à "Ò ãb/ûXyMØÈ
éããWakerÁäwakerÁ¸ È
4åêé‚È
¿<00Ö
1º2é
3ô
©H7¥Ûý'!)!+ã70³ ¿cØ
é¿<ÍÍ$±gl±g
ë!†J†JK‰Jµ 7ŠJphantomÁ7J¤7·0ØQdèÉçEçEèEGlobalÁ ¿±‡§í# Ÿ4¶g
6ÃD¶g ÄgÅgüŽg78¦g¢$–g É& ¢A(VœN»T¢¢l„hœ$„h"4‰h»"D‰h˜h9üÙg?ùg»$ègr°y9œ»š!-./0Àç—3a$á.ל¤, PhantomDataÁ\²ïKΆJWakeÁ$ã¿< 
ã
DurationÁD€­Ö InstantÁ<ÃóT AtomicUsizeÁ\ß„Ä
×ÅÀׯÀCondvarÁ<‡>¤µ>üšhü! Thread parking and unparking.Á"úü&nk A [`Parker`] is in either the notified or unnotified state. The [`park()`][`Parker::park()`] method blocksÁü•fc the current thread until the [`Parker`] becomes notified and then puts it back into the unnotifiedÁüüYV state. The [`unpark()`][`Unparker::unpark()`] method puts it into the notified state.ÁÖúüÚa^ This API is similar to [`thread::park()`] and [`Thread::unpark()`] from the standard library.Áü¼b_ The difference is that the state "token" managed by those functions is shared across an entireÁüŸc` thread, and anyone can call [`thread::current()`] to access it. If you use `park` and `unpark`,Áüƒ^[ but you also call a function that uses `park` and `unpark` internally, that function couldÁüâc` cause a deadlock by consuming a wakeup that was intended for you. The [`Parker`] object in thisÁüÆc` crate avoids that problem by managing its own state, which isn't shared with unrelated callers.Áªúü®IF [`thread::park()`]: https://doc.rust-lang.org/std/thread/fn.park.htmlÁüø_\ [`Thread::unpark()`]: https://doc.rust-lang.org/std/thread/struct.Thread.html#method.unparkÁüØOL [`thread::current()`]: https://doc.rust-lang.org/std/thread/fn.current.htmlÁ¨ ú # ExamplesÁ» ú<¿  ```Á¤Ç  use std::thread;ÁäÜ  use std::time::Duration;ÁÄù  use parking::Parker;Á
úÔ–
 let p = Parker::new();Á̱
 let u = p.unparker();ÁË
úÌÏ
 // Notify the parker.Á
u.unpark();Áù
úüý
;8 // Wakes up immediately because the parker is notified.Á
p.park();ÁÇ úÜË  thread::spawn(move || {Áüç 2/ thread::sleep(Duration::from_millis(500));Áœš  u.unpark();Á  });Á úüº TQ // Wakes up when `u.unpark()` notifies and then goes back into unnotified state.Ál
Ñ#<
ö ahttps://raw.githubusercontent.com/smol-rs/smol/master/assets/images/logo_fullsize_transparent.pngÁ„’‡&l˜!-./0À© ç¹ —3aË á.×Þ ¤,ïÔ ïæ KÔ †J²Ï ¿< 
Î ã
ÝÅ ­Ö ù½ óT ± „Ä
×° ÅÀ×à ÆÀÚ© ‡>¤¨ µ>© © © L½¹ |‚Ë D—Þ Ä¥ü tÃ!
L×8
8
K
K
ϛg
”¸r
ÌÑ[
ôðN
$”&
)


ü§#ü­0- Creates a parker and an associated unparker.ÁÞúÓ ñúö üý! let (p, u) = parking::pair();Áö $®ƒ
È

Œ®ì Waits for a notification.Áƒ
F¤Û”ÆÈ
ôÞïFu\»Ÿá.á.aã.»Ì-IÜžB2®\ƒ
´¸Ì“ Creates a new parker.Á±úÓ Ìúö ÄàÈ!ýúÔ…õ!ö °ú¿ƒ

”†üC@ Blocks until notified and then goes back into unnotified state.ÁÕúÓ ðúö Ä„È!¡úÔ©õ!ÌȘ"æúÌîÆ"è" úü¨;#Ñ#ö $: 
 
$“ü¬!6üÎVS Blocks until notified and then goes back into unnotified state, or times out afterÁ `duration`.Á½úüÅ2/ Returns `true` if notified before the timeout.Áüút„Ó úö ä«£!ÄÌÈ!éúÔñõ! úü˜ 96 // Wait for a notification, or time out after 500 ms.ÁüÖ /, p.park_timeout(Duration::from_millis(500));Á<Š!ö Í$ !4Ÿ!Œ–!d³!; 
­Ö­ÖÝ®ÖsecsÁâ}¯ÖnanosÁâ}Zµ–²ª À!
$Á!durationÁDÇ!ü‘&5ü¡"^[ Blocks until notified and then goes back into unnotified state, or times out at `instant`.Á„#úüŒ#30 Returns `true` if notified before the deadline.ÁÄ#útÌ#Ó ß#ú<ç#ö üó#'$ use std::time::{Duration, Instant};ÁÄŸ$È!¼$úÔÄ$õ!ã$úüë$9§4ü©%A> p.park_deadline(Instant::now() + Duration::from_millis(500));Á<ï%ö Í$…&4„&Œû%l˜&< 
óTóTôTùõTˆA t( ¼Í¥Š ¦&
$§&instantÁ<­&ä´+ÄÈ' Notifies the parker.Áå'úüí'[X Returns `true` if this call is the first to notify the parker, or `false` if the parkerÁÌÍ( was already notified.Áë(útó(Ó †)ú<Ž)ö ¤š)†!ä³)£!ÄÔ)È!ñ)úÔù)õ!˜*úü *! assert_eq!(p.unpark(), true);ÁüÆ*" assert_eq!(p.unpark(), false);Áí*úäõ* // Wakes up immediately.Ál+Ñ#<¨+ö 4»+= 
 Â+
$Ã+ü¨/"üý+# Returns a handle for unparking.Á¥,úü­,EB The returned [`Unparker`] can be cloned and shared among threads.Á÷,útÿ,Ó -ú<š-ö Ħ-È!Ã-úÔË-õ!Ìê-˜"ˆ.úÌ.Æ"|®.è"Â.úüÊ.;#lŠ/Ñ#<œ/ö D¯/> 
È
 ¸/
$¹/¼ô/ƒ
´´’0<•0ƒ

ÔÊ0ƒ
Àc üë08î0?@A 
@ c cˆ¢cµ
 `£cbufÁ `àB¤GS
AÖ¿Ù¿Ú¿«Û¿ˆÜ¿Ý¿Þ¿ˆ‚†f|Â
ŸÈŸÈ ÈErrorÁ O˜éBL ò0
$ó0± ù0œå1´Î1 Notifies a parker.ÁDð1È
ãb/ûXyM"Œÿ1,ÿ1!!¢l•2È
$%&ä¤7ü©2# Notifies the associated parker.ÁÑ2úüÙ2[Û;̹3¿<×3útß3Ó ò3ú<ú3ö ¤†4†!äŸ4£!ÄÀ4È!Ý4úÔå4õ!Ì„5˜"¢5úܪ5ó#üÊ52˜$œ6Ó$<™6ï$¥6úü­6TŒ%l†7Ñ#<˜7ö 4«7B 
# ²7#
$$³7üÔ:2üê7FC Indicates whether this unparker will unpark the associated parker.Áµ8úü½8IF This can be used to avoid unnecessary work before calling `unpark()`.Á9út“9Ó ¦9ú<®9ö ĺ9È!×9úÔß9õ!Ìþ9˜"œ:úü¤: assert!(u.will_unpark(&p));Á<È:ö \Û:CD 

# ç:#
%$è:parkerÁ4î:üý=3üÍ;@= Indicates whether two unparkers will unpark the same parker.Á<útš<Ó ­<ú<µ<ö ÄÁ<È!Þ<úÔæ<õ!Ô…= let u1 = p.unparker();ÁÔ¤= let u2 = p.unparker();ÁÃ=úüË=! assert!(u1.same_parker(&u2));Á<ñ=ö \„>EF 

# >#
&$>¹
,—>äë>È
(Àc(üŽ?8?GHI 
H c cˆ¢cµ
 `£c†D `àB¤GS
I¬E' •?'
($–?± œ?¼ó?È
*Ù*Ü‘@,”@J 
È
) š@)
*$@ìü@ƒ,ë,ì A$£AÈ
ƒ++
,upÁ¨A”çA,íAÍœÿA4…Bͬ˜BDžBÍd´B,»BÉ©H7¥Ûý123”ÇB,ÇB00¤]¤]V¦]Á‚]üß3ø¤”&Í|ßB$ßB00µ>µ>¤·>Ò £>¸>poisonÁ£>¹>dataÁ£>Ë»™z™g—lôB$ôB00‡>‡>Úˆ>Ò ú=UZ
i)RÖÀT†CÉ56ü—C1$šCK Û¼ݼÞ¼©ß¼à¼ÛἈcSñŸ«‡zÙâ64 ŸC4
5$ CtimeoutÁ<¦Cäœ[4£[L 4 ª[4»$«[œæfÉ89À<Á<89ÄŽg$g¢77
8£üÙg \ÜgM 7 îg7
9f Âj& 
~ ý  ü01$
)c. ö:4Ý9 ž>?&D Ÿ?J³?PÈUqZ_vc#4*Thread::unpark()ÁThreadÁ7https://doc.rust-lang.org/std/thread/struct.Thread.htmlÁthread::current()Ápark()Á Parker::parkÁŠ4https://doc.rust-lang.org/std/thread/fn.current.htmlÁunpark()ÁUnparker::unparkÁthread::park()Á³à !1https://doc.rust-lang.org/std/thread/fn.park.htmlÁ‡ZœZ§ZãZùZš[„[Ó[à[гõ[–\‡Zà œZ§ZãZùZ„[Ó[Šš[à[õ[\³à ¿<ØŠ ³ºµßíßÌìÍì “íŒ""“""Û Þ ã ãàéæŒMÃMÐLÇLùM²—6fÕ_\Ià6 ¡{»7›©LÆrÎélSÓ²k[·Ÿ%öóçaE ·„©êE©
a n¡ôÙ±Ÿ¬¥K*Hc–ÈðʽvlÝ‘ëB:p›zU£z/£@íÂ|Ëï5Æk‘ÆP]ØFÐò6{(ÔAÇ®‚«a"ˆY¿!žA¶þ-ÝK+îV4”›•Ä%®[Hð[ë1äã²È‚1f~1È:ùn¥ï²hµõžB½–ªuZÙ+ `¬æÜ’féí%̈́ۢNÒ€~\Ï”ŒÜ,ä]º‘ÿ¿³ _Ÿe5£NÇÓ®¾¶W¸Ä&¿+‰˜n‹äNרúrú ‡e¿±ØDœBÑÂL6Ÿ¸±â®ß·Ô(éú
LUÊÓ®Z¥¾³4«4W£%¸sX4“Q7Jw=+t‘ó«b) sîìÂþ‰ :€ì¦¶€q;+‹€MÖæ3Ró’«ÔÛc™DµÂ®Ém5êzÙ w˜†°l
µ6!3íG}ÊQùw•â2[7ÙËî‰ ˜_´;P,4SMU<DƒzK‰2×Ae¸šÛÚcQ
FÍÏÌóiøLˆ]¬ÇùË4êTo @AŠWiÿ«!í}´Øz¦ÿ&zìê9¢Aí„SUÓ©ä¿QB¬™—‹¿È®þƪ.|05Ÿ³,FÙÓþÊWÖfsÿ‹Þ€_·½Yl‘n¼ÔšïmRJ`C€æ¿ ç> /z¾ZÓ5´áÏÀ"¤›n LÁãŒAÒåZ°"±9v<ôW+ÙyÜ ùã áöŸÀì---‡ * î?WÂß
 ð\£¼F!`!“"#5#L$