Signal-iOS/SignalMessaging/environment
Michelle Linington e3e903a8ad IOS-631: Suppress message processing pipeline while we have a pending backfill operation
Creates a new root singleton: OWSMessagePipelineSupervisor

As of right now, this singleton has two responsibilities:
- Track all message processing pipeline stages that have registered
  themselves
- Post processing suspension updates to interested stages

Four classes will now register themselves as pipeline stages:
- OWSMessageContentQueue
- YAPDBMessageDecryptQueue
- IncomingGroupsV2MessageQueue
- SSKMessageDecryptJobQueue

At initialization, OWSMessagePipelineSupervisor will take out a pipeline
suspension while it waits for a UUIDBackfillTask to complete. Other
interested objects are also able to suspend the message processing
pipeline by invoking suspendMessageProcessing(for:) on the supervisor
(though, currently this is not used by anything except tests)

This also adds some supporting improvements to UnfairLock. Now,
UnfairLock closures will return the value returned from its critical
section closure.
2020-07-22 21:10:27 -07:00
..
migrations Clean up naming around profile fetches. 2020-07-08 11:04:01 -03:00
AppSetup.h Rework creation of singletons. 2018-09-19 15:11:26 -04:00
AppSetup.m IOS-631: Suppress message processing pipeline while we have a pending backfill operation 2020-07-22 21:10:27 -07:00
Environment.h Fix more build warnings. 2020-04-10 13:17:08 -03:00
Environment.m Sync Groups and Contacts 2019-11-04 14:06:54 -08:00
LaunchJobs.swift Add LaunchJobs. 2019-09-27 16:10:48 -03:00
MessageRequestReadReceipts.swift Assert that writes occur on the main thread. 2020-06-07 11:45:47 -03:00
NoopCallMessageHandler.swift Adjust protocol definitions 2020-05-08 15:50:49 -07:00
OWSAudioSession.swift Explicitly end AudioActivity when call ends 2019-11-22 18:18:27 -07:00
OWSSounds.h Remove usage of primary storage. 2019-07-29 15:30:10 -03:00
OWSSounds.m Label the "slow write transactions" logging with the source of the transaction. 2020-06-07 10:37:55 -03:00
VersionMigrations.h Don't mark app as ready until all version migrations are done. 2018-01-30 11:27:44 -05:00
VersionMigrations.m Ensure new-user schema migrations run 2019-11-18 12:06:15 -07:00