C++ Concurrency, Part I Threads
This chapter introduces the C++ Concurrency library by first focusing on how it supports multithreading, that is creating programs that are executed by multiple independent threads of control. It shows how the library supports multithreading by introducing each syntax feature in the library, creatin...
Saved in:
| Published in | Financial Instrument Pricing Using C++ pp. 899 - 934 |
|---|---|
| Main Author | |
| Format | Book Chapter |
| Language | English |
| Published |
United Kingdom
John Wiley & Sons, Incorporated
2018
Wiley |
| Subjects | |
| Online Access | Get full text |
| ISBN | 0470971193 9780470971192 |
| DOI | 10.1002/9781119170518.ch28 |
Cover
| Abstract | This chapter introduces the C++ Concurrency library by first focusing on how it supports multithreading, that is creating programs that are executed by multiple independent threads of control. It shows how the library supports multithreading by introducing each syntax feature in the library, creating examples and then using these features to write simple and complete multithreaded programs. The chapter also provides initial examples and exercises from computational finance based on some of the numerical methods and option pricing models. Next, it discusses how to use threads to improve the speedup of compute‐intensive applications. The chapter also discusses how to parallelise the binomial method in a particular case. A special class of objects is atomic variables whose operations are guaranteed to be thread safe. The chapter argues that smart pointers are not thread safe in general, but C++ provides several atomic operations for them. |
|---|---|
| AbstractList | This chapter introduces the C++ Concurrency library by first focusing on how it supports multithreading, that is creating programs that are executed by multiple independent threads of control. It shows how the library supports multithreading by introducing each syntax feature in the library, creating examples and then using these features to write simple and complete multithreaded programs. The chapter also provides initial examples and exercises from computational finance based on some of the numerical methods and option pricing models. Next, it discusses how to use threads to improve the speedup of compute‐intensive applications. The chapter also discusses how to parallelise the binomial method in a particular case. A special class of objects is atomic variables whose operations are guaranteed to be thread safe. The chapter argues that smart pointers are not thread safe in general, but C++ provides several atomic operations for them. |
| Author | Duffy, Daniel J |
| Author_xml | – sequence: 1 fullname: Duffy, Daniel J |
| BookMark | eNptkE1Lw0AQhlf8QFv7B7yYe22d_d49SvCjUNBDPS-bzSytliRmU6T-elMriOJhZuCF54F3BuSoqisk5ILClAKwa6sNpdRSDZKaaVgyc0BGP6Gw8pAMQGiwuk_4CRlQ4IxZEBxOySilF-g1oCg1_Ixc5uNxltdV2LQtVmF7lT35tstm2WLZoi_TOTmOfp1w9H2H5PnudpE_TOaP97P8Zj5pKDNxomI0hcHSKEQDkrMgSuUj40pyzQqjhUJdemM5SqsRgo5WF8wqgdJEq_iQTPfe99Uatw6Lun5N7ldX97Fq3K6va8rYA_wfgILbPekP-AXtVk-JPdW09dsGU7cHA1Zd69dh6ZsO2-Sk7C2gnerHMs4_AYRIZ-U |
| ContentType | Book Chapter |
| Copyright | Copyright © John Wiley & Sons, Ltd. All rights reserved. |
| Copyright_xml | – notice: Copyright © John Wiley & Sons, Ltd. All rights reserved. |
| DBID | FFUUA |
| DEWEY | 332.6/0285/5133 |
| DOI | 10.1002/9781119170518.ch28 |
| DatabaseName | ProQuest Ebook Central - Book Chapters - Demo use only |
| DatabaseTitleList | |
| DeliveryMethod | fulltext_linktorsrc |
| Discipline | Business |
| EISBN | 9781119170495 1119170494 9781119170518 1119170516 |
| Editor | Duffy, Daniel |
| Editor_xml | – sequence: 1 givenname: Daniel surname: Duffy fullname: Duffy, Daniel |
| EndPage | 934 |
| ExternalDocumentID | 10.1002/9781119170518.ch28 EBC5510007_607_923 |
| Genre | chapter |
| GroupedDBID | 20A 38. 3XM AABBV AALIM ABARN ABQPQ ACLGV ADNEN ADVEM AERYV AFOJC AHWGJ AJFER ALMA_UNASSIGNED_HOLDINGS AUKZS AUYZC AZZ BBABE BCZZC BKCNH CZZ ERSLE FFUUA GEOUK HZKEI JFSCD KGVDC LQKAK LWYJN LYPXV MTLMD OHILO OODEK W1A WIIVT WZT YPLAZ ZEEST ABIYN ASGYQ IPJKO JHQRR |
| ID | FETCH-LOGICAL-p128f-6ff8b8ed86ee80532c4d6af2365372b8746e7da893e597e0c7f97b2964e58f963 |
| ISBN | 0470971193 9780470971192 |
| IngestDate | Wed Nov 27 04:52:49 EST 2019 Thu Jun 02 19:10:05 EDT 2022 Sat Aug 23 21:41:11 EDT 2025 |
| IsPeerReviewed | false |
| IsScholarly | false |
| LCCallNum | HG4515.2 .D844 2018 |
| Language | English |
| LinkModel | OpenURL |
| MergedId | FETCHMERGED-LOGICAL-p128f-6ff8b8ed86ee80532c4d6af2365372b8746e7da893e597e0c7f97b2964e58f963 |
| OCLC | 1032290430 |
| PQID | EBC5510007_607_923 |
| PageCount | 36 |
| ParticipantIDs | proquest_ebookcentralchapters_5510007_607_923 wiley_ebooks_10_1002_9781119170518_ch28_ch28 |
| PublicationCentury | 2000 |
| PublicationDate | 2018 2018-09-04 |
| PublicationDateYYYYMMDD | 2018-01-01 2018-09-04 |
| PublicationDate_xml | – year: 2018 text: 2018 |
| PublicationDecade | 2010 |
| PublicationPlace | United Kingdom |
| PublicationPlace_xml | – name: United Kingdom |
| PublicationTitle | Financial Instrument Pricing Using C++ |
| PublicationYear | 2018 |
| Publisher | John Wiley & Sons, Incorporated Wiley |
| Publisher_xml | – name: John Wiley & Sons, Incorporated – name: Wiley |
| SSID | ssj0002061183 ssib036579992 ssib042309653 |
| Score | 1.5448344 |
| Snippet | This chapter introduces the C++ Concurrency library by first focusing on how it supports multithreading, that is creating programs that are executed by... |
| SourceID | wiley proquest |
| SourceType | Enrichment Source Publisher |
| StartPage | 899 |
| SubjectTerms | atomic operations binomial method C++ Concurrency library computational finance FINANCE & ACCOUNTING multithreading numerical methods option pricing models smart pointers |
| Title | C++ Concurrency, Part I Threads |
| URI | http://ebookcentral.proquest.com/lib/SITE_ID/reader.action?docID=5510007&ppg=923&c=UERG https://onlinelibrary.wiley.com/doi/abs/10.1002/9781119170518.ch28 |
| hasFullText | 1 |
| inHoldings | 1 |
| isFullTextHit | |
| isPrint | |
| link | http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwnV3PT8IwFG4UE2O8-DPizx0kHmA6utF2VxACJnjChNuydm30ghi4yF_ve2sHDLxoAg1ZXkjXr-vee-33PULuA2og5NIQnaQygwAlyvzUtAKfMq6bisWhyDChP3xl_bfoZdwar2rz5eySuXxUi195Jf9BFa4BrsiS_QOyyz-FC_Ab8IUWEIZ2w_ktp1lt3aE1rQxUgc139bGKOwb_9iRAp0bb8Fk5q8Z8r3jlxY6QkymwtkgBVLlmk7JJOpha9UF9BJCnWSlH0BQbOYJfDuG4FcipJS95VDasDCKO0lJNW6Vua5G1oq0oloXqcBwea_Go3h3Hu6RoHVsu8YaidbfdAT8NvZOEwReMamFv-uVjKTDcMq-FzxarXbLLBSxee_CK7g6XqTMKPgisRLm-gOtoWGgpFR13_CgwftruaCmaWI9JcqdidEQOkWjiIQME-n1MdvTkhOwXTIRTctep1701OBoeguENPAfGGXnrdUedvu_qWfhT8AKMz4wRUuhMMK0FVuRQUcZSQ0PWCjmVgkdM8ywFD1JDmKcDxU3MJe6L65YwsFKek8rkc6IviMcjxSiPDTUijaSOJRUy1qGE916gDNNV4hd3mOS77u6or7K3NEs2AKiSRj4M1niWWDFrmpTGLsGxy5sqeSiZl80WH1NrOs3M5R87ckUOVhP4mlTg8dE34PbN5a2bBj_kvUqd |
| linkProvider | ProQuest Ebooks |
| openUrl | ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=bookitem&rft.title=Financial+Instrument+Pricing+Using+C%2B%2B&rft.au=Duffy%2C+Daniel+J&rft.atitle=C%2B%2B+Concurrency%2C+Part+I+Threads&rft.date=2018-01-01&rft.pub=John+Wiley+%26+Sons%2C+Incorporated&rft.isbn=9780470971192&rft_id=info:doi/10.1002%2F9781119170518.ch28&rft.externalDBID=923&rft.externalDocID=EBC5510007_607_923 |
| thumbnail_s | http://utb.summon.serialssolutions.com/2.0.0/image/custom?url=https%3A%2F%2Febookcentral.proquest.com%2Fcovers%2F5510007-l.jpg |