Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for exists (0.35 sec)

  1. doc/go_mem.html

    	t.msg = "hello, world"
    	g = t
    }
    
    func main() {
    	go setup()
    	for g == nil {
    	}
    	print(g.msg)
    }
    </pre>
    
    <p>
    Even if <code>main</code> observes <code>g != nil</code> and exits its loop,
    there is no guarantee that it will observe the initialized
    value for <code>g.msg</code>.
    </p>
    
    <p>
    In all these examples, the solution is the same:
    use explicit synchronization.
    </p>
    
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  2. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

        override fun execute() {
            try {
                val versionToIncubating = mutableMapOf<Version, MutableSet<IncubatingDescription>>()
                parameters.srcDirs.forEach { srcDir ->
                    if (srcDir.exists()) {
                        val collector = CompositeVersionsToIncubatingCollector(
                            listOf(
                                JavaVersionsToIncubatingCollector(srcDir),
    HTML
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sun Jun 25 02:53:14 GMT 2023
    - 12.7K bytes
    - Viewed (0)
Back to top