Skip to content

NSOiO/NSMutableArray-SafeTransaction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NSMutableArray-SafeTransaction

NSMutableArray thread safe transaction

NSMutableArray is not thread safe,envn if you add lock to every API.

Supposed this:

    1. Thread #1 get the count of the mutable array.
    1. Thread #2 remove the last objct.
    1. Thread #1 access the count-1 object,then throw exception.

About

NSMutableArray thread safe transaction

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors