Building thread-safe data structures

i am thinking about start contributing to julia by writing some thread-safe data structures, i want to know what the to make to make my pull request get merged, e.g what the interface should, if you think of some language that i should emulate, how should i write the tests .
thank you for your time