Export of internal Abseil changes
-- 016342692a38a2ecb7e2e3bb658ad0e352cd5885 by Gennadiy Rozental <rogeeff@google.com>: Minor documentation fix for base/attributes.h Import of https://github.com/abseil/abseil-cpp/pull/673 PiperOrigin-RevId: 308703106 -- cf0abc14f9a8fb9ccf99a8ac7475d2100771ed89 by Greg Falcon <gfalcon@google.com>: internal change PiperOrigin-RevId: 308684014 -- ea6ffabf61d09cfc9b791c1144a155c6be45f086 by Gennadiy Rozental <rogeeff@google.com>: Import of CCTZ from GitHub. PiperOrigin-RevId: 308672487 -- 2106b40ade57dd07039705a9f1198b06f535a8de by Abseil Team <absl-team@google.com>: Replace deprecated thread annotations macro PiperOrigin-RevId: 308604266 GitOrigin-RevId: 016342692a38a2ecb7e2e3bb658ad0e352cd5885 Change-Id: Ib9dd67ffd3a9807d55cad53472348e797b43cd24
This commit is contained in:
		
							parent
							
								
									3f48ce1c48
								
							
						
					
					
						commit
						6e18c7115d
					
				
					 15 changed files with 10 additions and 8 deletions
				
			
		|  | @ -53,6 +53,7 @@ | ||||||
| #include "absl/base/internal/raw_logging.h" | #include "absl/base/internal/raw_logging.h" | ||||||
| #include "absl/base/internal/spinlock.h" | #include "absl/base/internal/spinlock.h" | ||||||
| #include "absl/base/internal/unscaledcycleclock.h" | #include "absl/base/internal/unscaledcycleclock.h" | ||||||
|  | #include "absl/base/thread_annotations.h" | ||||||
| 
 | 
 | ||||||
| namespace absl { | namespace absl { | ||||||
| ABSL_NAMESPACE_BEGIN | ABSL_NAMESPACE_BEGIN | ||||||
|  | @ -351,7 +352,7 @@ static absl::base_internal::SpinLock tid_lock( | ||||||
| // We set a bit per thread in this array to indicate that an ID is in
 | // We set a bit per thread in this array to indicate that an ID is in
 | ||||||
| // use. ID 0 is unused because it is the default value returned by
 | // use. ID 0 is unused because it is the default value returned by
 | ||||||
| // pthread_getspecific().
 | // pthread_getspecific().
 | ||||||
| static std::vector<uint32_t>* tid_array GUARDED_BY(tid_lock) = nullptr; | static std::vector<uint32_t>* tid_array ABSL_GUARDED_BY(tid_lock) = nullptr; | ||||||
| static constexpr int kBitsPerWord = 32;  // tid_array is uint32_t.
 | static constexpr int kBitsPerWord = 32;  // tid_array is uint32_t.
 | ||||||
| 
 | 
 | ||||||
| // Returns the TID to tid_array.
 | // Returns the TID to tid_array.
 | ||||||
|  |  | ||||||
|  | @ -15,6 +15,7 @@ | ||||||
| #include "absl/strings/cord.h" | #include "absl/strings/cord.h" | ||||||
| 
 | 
 | ||||||
| #include <algorithm> | #include <algorithm> | ||||||
|  | #include <atomic> | ||||||
| #include <cstddef> | #include <cstddef> | ||||||
| #include <cstdio> | #include <cstdio> | ||||||
| #include <cstdlib> | #include <cstdlib> | ||||||
|  |  | ||||||
							
								
								
									
										2
									
								
								absl/time/internal/cctz/testdata/version
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								absl/time/internal/cctz/testdata/version
									
										
									
									
										vendored
									
									
								
							|  | @ -1 +1 @@ | ||||||
| 2019c | 2020a | ||||||
|  |  | ||||||
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								absl/time/internal/cctz/testdata/zoneinfo/America/Nuuk
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								absl/time/internal/cctz/testdata/zoneinfo/America/Nuuk
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								absl/time/internal/cctz/testdata/zoneinfo/PRC
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								absl/time/internal/cctz/testdata/zoneinfo/PRC
									
										
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							|  | @ -128,8 +128,8 @@ CA	+4906-11631	America/Creston	MST - BC (Creston) | ||||||
| CA	+5946-12014	America/Dawson_Creek	MST - BC (Dawson Cr, Ft St John) | CA	+5946-12014	America/Dawson_Creek	MST - BC (Dawson Cr, Ft St John) | ||||||
| CA	+5848-12242	America/Fort_Nelson	MST - BC (Ft Nelson) | CA	+5848-12242	America/Fort_Nelson	MST - BC (Ft Nelson) | ||||||
| CA	+4916-12307	America/Vancouver	Pacific - BC (most areas) | CA	+4916-12307	America/Vancouver	Pacific - BC (most areas) | ||||||
| CA	+6043-13503	America/Whitehorse	Pacific - Yukon (south) | CA	+6043-13503	America/Whitehorse	Pacific - Yukon (east) | ||||||
| CA	+6404-13925	America/Dawson	Pacific - Yukon (north) | CA	+6404-13925	America/Dawson	Pacific - Yukon (west) | ||||||
| CC	-1210+09655	Indian/Cocos | CC	-1210+09655	Indian/Cocos | ||||||
| CH,DE,LI	+4723+00832	Europe/Zurich	Swiss time | CH,DE,LI	+4723+00832	Europe/Zurich	Swiss time | ||||||
| CI,BF,GM,GN,ML,MR,SH,SL,SN,TG	+0519-00402	Africa/Abidjan | CI,BF,GM,GN,ML,MR,SH,SL,SN,TG	+0519-00402	Africa/Abidjan | ||||||
|  | @ -173,7 +173,7 @@ GE	+4143+04449	Asia/Tbilisi | ||||||
| GF	+0456-05220	America/Cayenne | GF	+0456-05220	America/Cayenne | ||||||
| GH	+0533-00013	Africa/Accra | GH	+0533-00013	Africa/Accra | ||||||
| GI	+3608-00521	Europe/Gibraltar | GI	+3608-00521	Europe/Gibraltar | ||||||
| GL	+6411-05144	America/Godthab	Greenland (most areas) | GL	+6411-05144	America/Nuuk	Greenland (most areas) | ||||||
| GL	+7646-01840	America/Danmarkshavn	National Park (east coast) | GL	+7646-01840	America/Danmarkshavn	National Park (east coast) | ||||||
| GL	+7029-02158	America/Scoresbysund	Scoresbysund/Ittoqqortoormiit | GL	+7029-02158	America/Scoresbysund	Scoresbysund/Ittoqqortoormiit | ||||||
| GL	+7634-06847	America/Thule	Thule/Pituffik | GL	+7634-06847	America/Thule	Thule/Pituffik | ||||||
|  | @ -290,7 +290,7 @@ RS,BA,HR,ME,MK,SI	+4450+02030	Europe/Belgrade | ||||||
| RU	+5443+02030	Europe/Kaliningrad	MSK-01 - Kaliningrad | RU	+5443+02030	Europe/Kaliningrad	MSK-01 - Kaliningrad | ||||||
| RU	+554521+0373704	Europe/Moscow	MSK+00 - Moscow area | RU	+554521+0373704	Europe/Moscow	MSK+00 - Moscow area | ||||||
| # Mention RU and UA alphabetically.  See "territorial claims" above. | # Mention RU and UA alphabetically.  See "territorial claims" above. | ||||||
| RU,UA	+4457+03406	Europe/Simferopol	MSK+00 - Crimea | RU,UA	+4457+03406	Europe/Simferopol	Crimea | ||||||
| RU	+5836+04939	Europe/Kirov	MSK+00 - Kirov | RU	+5836+04939	Europe/Kirov	MSK+00 - Kirov | ||||||
| RU	+4621+04803	Europe/Astrakhan	MSK+01 - Astrakhan | RU	+4621+04803	Europe/Astrakhan	MSK+01 - Astrakhan | ||||||
| RU	+4844+04425	Europe/Volgograd	MSK+01 - Volgograd | RU	+4844+04425	Europe/Volgograd	MSK+01 - Volgograd | ||||||
|  | @ -341,8 +341,8 @@ TT,AG,AI,BL,DM,GD,GP,KN,LC,MF,MS,VC,VG,VI	+1039-06131	America/Port_of_Spain | ||||||
| TV	-0831+17913	Pacific/Funafuti | TV	-0831+17913	Pacific/Funafuti | ||||||
| TW	+2503+12130	Asia/Taipei | TW	+2503+12130	Asia/Taipei | ||||||
| UA	+5026+03031	Europe/Kiev	Ukraine (most areas) | UA	+5026+03031	Europe/Kiev	Ukraine (most areas) | ||||||
| UA	+4837+02218	Europe/Uzhgorod	Ruthenia | UA	+4837+02218	Europe/Uzhgorod	Transcarpathia | ||||||
| UA	+4750+03510	Europe/Zaporozhye	Zaporozh'ye/Zaporizhia; Lugansk/Luhansk (east) | UA	+4750+03510	Europe/Zaporozhye	Zaporozhye and east Lugansk | ||||||
| UM	+1917+16637	Pacific/Wake	Wake Island | UM	+1917+16637	Pacific/Wake	Wake Island | ||||||
| US	+404251-0740023	America/New_York	Eastern (most areas) | US	+404251-0740023	America/New_York	Eastern (most areas) | ||||||
| US	+421953-0830245	America/Detroit	Eastern - MI (most areas) | US	+421953-0830245	America/Detroit	Eastern - MI (most areas) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue